-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Unable to hide Y values #17
Comments
Try [pieChartDataSet setDrawValues: NO]; on your |
Only PieChartData declares the setDrawValues method. I tried it and it hides both X and Y. |
Sorry, my bad. The field you need to set to |
There's a setter for "drawSliceTextEnabled" but I think that's for X values |
@PhilJay Are we implementing a property to exclusively hide Y values? |
Yes, this already exists in Andriod and can be done via calling |
It is now fixed - there was a bug in the iOS version, that were fixed a few days ago in the Android version |
I confirm the fix. dataSet.drawValuesEnabled = NO; did the trick |
I am implementing a Pie chart and I am unable to hide Y values.
I tried setting dataSet.drawValuesEnabled = NO but this hid both X and Y labels.
On the contrary I am able to hide X labels by [_chartView setDrawSliceTextEnabled:NO]
The text was updated successfully, but these errors were encountered: