2

I'm using iOS-Charts with Swift to draw line charts, and I'm looking for a way to place a gap between the data points (circles) and the lines themselves.

Something like this: example

I've tried playing around with some values under the drawLinear section of LineChartRenderer.swift, but I don't know enough about Core Graphics to do anything useful.

Having a white outline for the circles is unfortunately not an option, since I'm displaying multiple datasets with images containing transparent layers, and the datasets need to be able to overlap (as in the example image)

Any help would be greatly appreciated - thanks :)

enter image description here

Hasya
  • 9,792
  • 4
  • 31
  • 46
John W808
  • 53
  • 5

0 Answers0