Cannot set ChartType
SharpGraph for .NET Support
Cannot set ChartType
12-10-2008, 12:14 PM
Hi Ericc,
Thank you for your answers.
Now I meet a new problem: when I add a series with type LineXY it prompts a error message: the X-axis is Categorical. Then I try to modify the Axis -X's type to Numerical, another error message says the Bar2D chart needs Categorical X-axis. Actually there is no any series in the chart ( I use series.Clear()) and I cannot find where I could set the ChartType.
David Liu
Re: Cannot set ChartType
12-10-2008, 3:07 PM
Normal 0 false false false EN-US ZH-CN AR-SA MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} Thank you for your question. Please note the different chart types sometime require different types of data (Numerical / Categorical). You can find some helpful information about the different types of data here:
http://www.datadynamics.com/Help/SharpGraph/sgfconStandardAxes.html
http://www.covariable.com/doc/basic.html
Also, I have been unable to experience any issues setting up a 2dBar programmatically. The attached sample works well in my testing. Please let me know if you do not receive similar results.
Thanks,
Eric