iOS Scatter core plot with a gap

后端 未结 1 1196
失恋的感觉
失恋的感觉 2020-12-04 03:22

How does one draw a scatter plot with a gap using core plot? I was using the core plot library. Everything is working fine but now I want to do a scatter plot with a gap at

相关标签:
1条回答
  • 2020-12-04 03:50

    Have the datasource return nil or [NSNull null]. For example, if the plot has five data points and you return nil for the x or y field at index 2, the plot will draw the points at indices 0 and 1 connected by a line and indices 3 and 4 connected by a line with a gap in between.

    0 讨论(0)
提交回复
热议问题