I need the ability to not draw a line between certain points in a line series. For example, say you had the following points:
1, 10
2, 20
3, 50
4, 30
5, 10
If the Y scale only went to 40, then there would be a break between points 2 and 4 above. In other words you would have a line connecting 1 and 2 and another line connecting 4 and 5, but nothing in between.
If I simply delete point 3, I end up with a line from 2 to 4 which isn't what I'm looking for.
Thank you.
Hi,
Try setting the value of that point to double.NaN, and if the series type you are using has the UnknownValuePlotting property set it to DontPlot.
Hope this helps!
-Graham
This helps. But sometimes after zooming and scrolling I get this snark.
At the beginning:
After zooming and scrolling (a snark):
How can I avoid this?
I have a scenario where I need to be able to support both gaps and interpolation in the same series. Ideally, I would like to use 'null' to indicate that the the series should 'DontPlot' and 'double.NaN' to indicate that the series should 'Interpolate'
This is VERY important to our app. Can you tell me how to do this or if there is a work around you can think of?
That worked! Thanks for the super fast response. We just bought the control so don't know it all that well. So far I'm very happy with the support!