Pre loader

Line series digital values

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 am trying to use a line series to display digital values (0,1) Is it possible to have the line series remain at 1 if there is no data after the reading until it reaches the next value read. Currently the line goes to 1 and then starts to fall until it reaches zero as there is no data to tell it otherwise

  • You must to post comments
Best Answer
1
0

Update: v3.1 or Greater

We now have a published workaround which will draw a Digital Line series to the end of the viewport in the article How to Make Line Series draw to the right-edge of the chart

enter image description here

  • You must to post comments
0
0

Hello there,

Yes, you can use the FastLineRenderableSeries.IsDigitalLine property to cause the line series to render as a digital line. See this example:

https://www.scichart.com/wpf-chart-example-digital-line-chart/

You will still have to dupe the chart into drawing the line from 1 to the end of the chart by appending a single data-point at a future X-value with the Y-value of 1.

Also you might like to know about this trick to use double.NaN to render a gap or closed line between two sparse data-points.

https://www.scichart.com/wpf-chart-example-gaps-in-series/

Hope this helps!

  • 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