SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Current, I am working an WPF application which using SciChart to draw many charts including a Stacked column chart.
In my case, there are many StackedColumnRenderableSeries in a chart, one of them has less data points then others do and this chart will be rendered incorrectly in a strange way, espcially when I zoomed in and panned it.
You can get source code for my example project from attached files.
Have anybody ever got this issue before?
What is the best way to resolve it?
Thank you for your support!
Thanks for your request. Concerning the stacked series, they must have the same XValues and the same number of data points. So if you want to have an empty series, you could:
hide it, setting IsVisible to False on a corresponding StackedColumnRenderableSeries
have double.NaNs as Y values for every XValue in a DataSeries. This is a special value reserved in SciChart to specify that you want to skip a point.
Please let us know if this helps!
Please login first to submit.