0
votes

Im relativly new to core plot and I stuck at some point.
I have a graph like this:
enter image description here

and want to draw the graph with no gap, like the red dotted line shows!
How would you do that without drawing a plot symbol at this point?
It also should be possible to connect the to points if the value in Y is different!

Has somebody dealed with that?
Thanks for any tip!

1

1 Answers

1
votes

Tell the plot it has only 6 data points (-numberOfRecordsForPlot: returns 6).

Index   X     Y
-------------------
  0     0     6
  1     1     7
  2     3     7
  3     4     7
  4     5     6
  5     6     6