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.