Charts: Hide labels - Pie chart

Created on 23 Feb 2017  Â·  3Comments  Â·  Source: danielgindi/Charts

It's probably easy, but I can't figure out how to hide the labels in the pie chart (PieChartView):

screen shot 2017-02-23 at 14 20 45

Most helpful comment

self.pieChartView.drawSliceTextEnabled = NO;
dataSet.drawValuesEnabled = NO

All 3 comments

I believe it's drawEntryLabelsEnabled and set it to false.

self.pieChartView.drawSliceTextEnabled = NO;
dataSet.drawValuesEnabled = NO

you have to set dataSet.drawValuesEnabled to false, only setting drawEntryLabelsEnabled to false doesn't work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

deepumukundan picture deepumukundan  Â·  3Comments

guoyutaog picture guoyutaog  Â·  3Comments

newbiebie picture newbiebie  Â·  3Comments

JW00332 picture JW00332  Â·  4Comments

PrashantKT picture PrashantKT  Â·  3Comments