zero3nna
zero3nna

Reputation: 2918

draw a core-plot scatter-plot with a plot point gap

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!

Upvotes: 0

Views: 594

Answers (1)

Eric Skroch
Eric Skroch

Reputation: 27381

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

Upvotes: 1

Related Questions