Pre loader

Hiding data when using a line series

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

Answered
1
0

I have the requirement of using a line series, but not displaying certain data points in the series (essentially breaking the line between points).

Do you have any recommendations on how to do this?

Thanks,
Jason

  • You must to post comments
Best Answer
1
0

Hi Jason,

I love it when people ask questions we can answer straight away 🙂

The answer is yes – we have a feature in FastLineRenderableSeries called DrawNaNAs. When this is set, and you change the Y-Value of a data-point to double.NaN (or float.NaN) then the line will draw a gap, or close the line between two points.

This is demonstrated in our Gaps in Series example.

enter image description here

Hope this helps!
Andrew

  • You must to post comments
0
0

Works! Thanks for the quick response

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies