snagane
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by snagane
-
-
Hello
I am creating a chart in which i have 3 series(one for months, one for values/month and one for gold target/month). For displaying values I have used bar chart and for displaying gold targets I have used step chart. I am assiging data to the chart after doing some manipulation on the data which is retrieved from the database. Now in this particular scenario I don't have gold target for the month of March-2011 so chart is not showing the gold target for that month but in addition to that it also doesn't show the gold target for month of Feb-2011. Please refer to the chart.jpeg image file in the attached zip folder.
So whenever i don't have a value for gold target for a particular month then chart doesn't display gold target for that month as well as its previous month also. Is this a bug with ChartFx or am I doing something wrong?
I have attached the code file(default.aspx.cs) as well as the xml file(data.xml) containing the data for the chart which I am reading into the .Net DataSet and then assigning to the chart's DataSource property.
Thank You in advance.
Step chart with missing data points doesn't render correctly
in Web Forms
Posted
Hello
I am creating a chart in which I have 2 series(one for values and one for gold targets). For displaying values I have used bar chart and for displaying gold targets I have used step chart. I am assinging data to the chart after doing some manipulation on the data which is retrieved from the database. Now in this particular scenario I have missing data point(for gold target series) for the month of March-2011 so chart is not showing the step for that month which is a default behaviour but in addition to that it also doesn't show the step for month of Feb-2011 even though I have data point for the month of Feb-2011. Please have a look at chart.jpeg file in the attached zip folder.
So whenever I have missing data point(for gold target series) for a particular month then chart doesn't display steps for that month as well as its previous month also. Is this a bug with ChartFx or am I doing something wrong?
I have attached the C# code file(default.aspx.cs) as well as the xml file(data.xml) containing the data for the chart which I am reading into the .Net DataSet and then assigning to the chart's DataSource property.
Thanks