Discontinuous LineSeries

Jun 11, 2014 at 8:21 AM
Hi
At the moment I'm using a LineSeries, to view my data. But sometimes there might be missing datapoints, which I would like to be made aware of. I was thinking that what I want is something like LineSeries, but allowing discontinuities. For instance, such that I can specify a number (or a timespan in my case), and when two consecutive datapoints are further apart than that, no line would be drawn between them. I assume that this is not already a part of OxyPlot, but is it possible for me to implement? I have no idea where to start.
Coordinator
Jun 11, 2014 at 11:10 AM
Try to add a DataPoint.Undefined or set one of the coordinates to NaN. This should create a break in the line. Also see the BrokenLineStyle and BrokenLineColor properties if you want to show a line where the break is.
Jun 11, 2014 at 11:22 AM
Yeah, I thought of that. But there is no way to achieve this without adding a lot of NaNs? Like writing a new Series-class?