Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide labels - Pie chart #2193

Closed
valeIT opened this issue Feb 23, 2017 · 3 comments
Closed

Hide labels - Pie chart #2193

valeIT opened this issue Feb 23, 2017 · 3 comments

Comments

@valeIT
Copy link

valeIT commented Feb 23, 2017

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

@pmairoldi
Copy link
Collaborator

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

@mohuifen
Copy link

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

@tsaievan
Copy link

tsaievan commented Jun 15, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants