Jump to content
Software FX Community

Step chart with missing data points doesn't render correctly


snagane
 Share

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...