"Hole Value"

Feb 26, 2013 at 1:57 AM
Apologies if this has been asked before, I have searched at length, but is there a concept of "hole value" in OxyPlot? This means there is a row of data that exists, but cannot be plotted, and so a data point is created, but is not to be represented on the screen. An example: A series of numbers with text in one (or more) places in the series:


Instead of "banana", there might be nothing (null) as well. In industrial applications, it might be "I/O Error" or "Bad Data", etc. I want the row containing the unplotable non-numeric to exist in the series as a gap. I could set it to zero, but it is not a zero. In some charting,, you set the value for the data point to a "Hole Value" and thus exists in the series, but no plot is shown on the screen.

Thank you.
Feb 26, 2013 at 11:35 AM
Try to add a null item, a double.NaN value or a DataPoint.Undefined. Which one depends on how you bind to your data.