We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there,
I am using a piechart but having problems with labels of each slice. What I want to achieve is this: My goal
And this is what I have so far: My progress
So here are my questions:
These are my settings so far:
piechart.highlightPerTapEnabled = false piechart.rotationEnabled = false piechart.usePercentValuesEnabled = true piechart.drawSliceTextEnabled = false piechart.drawHoleEnabled = false
The text was updated successfully, but these errors were encountered:
Solved 1 and 2 by using:
let formatter = NSNumberFormatter() formatter.numberStyle = .PercentStyle formatter.maximumFractionDigits = 1 formatter.multiplier = 1.0 data.setValueFormatter(formatter)
Still need a way to disable labels for slices under X% percent of pie.
Sorry, something went wrong.
last one is dup I guess, closing. check #944
It is still a valid solution ? Me did not work.
No branches or pull requests
Hi there,
I am using a piechart but having problems with labels of each slice. What I want to achieve is this:
My goal
And this is what I have so far:
My progress
So here are my questions:
These are my settings so far:
The text was updated successfully, but these errors were encountered: