SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
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!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
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
Yes, you can use the FastLineRenderableSeries.IsDigitalLine property to cause the line series to render as a digital line. See this example:
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.
Hope this helps!
Please login first to submit.