ivnsch / SwiftCharts

Easy to use and highly customizable charts library for iOS
Apache License 2.0
2.53k stars 410 forks source link

Change the background of the circle #309

Closed danieldesouzadev closed 6 years ago

danieldesouzadev commented 6 years ago

Hi,

How do I change the background of the circle to black and remove the numbers from the example: Areas, Lines and Circles?

Tks

danieldesouzadev commented 6 years ago

let v = ChartPointTextCircleView(chartPoint: chartPoint, center: screenLoc, diameter: 16, cornerRadius: 8, borderWidth: 0, font: ChartDefault.fontWithSize( 8))

v.layer.backgroundColor = UIColor.Black.cgColor