Search code examples
iosswiftios-charts

How to hide values in iOS-charts PieCharts?


I'm trying to change a PieChartView to not show the values on the Chart. Indeed I'm looking to a similar function to

pieChartView.drawSliceTextEnabled = false

but just for the values.

I would be very thankful for some help :)


Solution

  • in data set, disable drawValueEnabled like set.drawValuesEnabled = false