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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

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.