SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
Companion question of https://www.scichart.com/questions/wpf/fastlinerenderableseries-handling-of-double-nan-values-where-isdigitallinetrue
We have the same issue/desire with respect to NaNs: we would like to have a similar behaviour, i.e. always render at least one point when there is a NaN. So if we have a sequence p1, NaN, p2, NaN, p3, NaN, …. the chart is not empty (like it is with LineDrawMode.Gaps) or a continuous line (like LineDrawMode.ClosedLines) but a series of points. It could be another mode like LineDrawMode.NonClosedLines or similar.
Or
Is it possible to do it by ourselves? With a CustomRenderableSeries maybe?
Hi Lorenzo,
Thanks for your question.
Please try setting Point Markers on your line series. For more info please have a look at the following documentation article:
https://www.scichart.com/documentation/v5.x/webframe.html#The%20Scatter-Line%20Series%20Type.html
Hope this helps.
This would make a good feature request Lorenzo 🙂
I think … the ExtremeResampler / ExtremeDrawingManager feature in scichart supports this but I’m not sure.
From the documentation above, enable this feature as follows
<s:SciChartSurface s:PerformanceHelper.EnableExtremeResamplers="True"
s:PerformanceHelper.EnableExtremeDrawingManager="True">
</s:SciChartSurface>
Best regards,
Andrew
In the end I tried to use a CustomRenderableSeries based on the CustomLinesRenderableSeries you can find in the docs, and it is quite easy to get it this way.
Please login first to submit.