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 login to post comments
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
- Andrew Burnett-Thompson answered 9 years ago
- You must login to post comments
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!
- Andrew Burnett-Thompson answered 11 years ago
- last edited 8 years ago
- You must login to post comments
Please login first to submit.