SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

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?

Version
5.4
  • You must to post comments
0
0

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.

  • You must to post comments
0
0

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

Images
  • Lorenzo Dematte
    I think I solved it through a CustomRenderableSeries, but now I’m curious: where can I read more about ExtremeDrawingManager and how it works?
  • Andrew
    Its just an alternative code path which we implemented to solve a few problems (like this). We don’t have any docs for this unfortunately.
  • You must to post comments
0
0

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.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.