Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
How to make a broken line graph
posted

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.

Parents
  • 30692
    Verified Answer
    Offline posted

    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

Reply Children