Jump to content
Software FX Community

Chart with less number of data points


Recommended Posts

We've created a simple chart with 10 dimension values on the x-axis and 10 corresponding data points on Y-axis. Everything is working fine. Now, due to some missing data, i get only 9 points the next time to be displayed against 10 dimension values. Is there any provision in ChartFx to handle this scenario? Can i simply send a place-holder for the missing point to the API and it kind of by-passes it during presentation as a line chart.

 Any related insights are appreciated.

 - Jayadev.

Link to comment
Share on other sites


There is a property called "InterpolateHidden" which (when set to true) allows to draw a connecting line over missing data points. When this property is set to false, hidden points in the chart will be result in a "broken" line in the chart. When set to true, the chart will draw a connecting so prevent the broken line. In previous versions of Chart FX, it was not possible to create charts which markers where not evenly spaced without passing both X and Y data. The InterpolateHidden property now makes it possible to create non even spaced charts with only Y values. Additionally, please note that you can use the InitializeHidden property to instruct the chart to intialize all non-initialized values to a hidden value.


To instruct the chart to draw connection lines over hidden points:


chart1.Data.InterpolateHidden = true;



Link to comment
Share on other sites

  • 2 months later...

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.

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.

  • Create New...