-
-
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
Can't set hole color to nil for Pie Chart #646
Comments
You are correct :-) |
I think you mean
Looking forward to testing it out! |
😂 |
That's a syntax error, should be lowerCase |
I need to include a color shadow inside piechart( like holecolor) corresponding to a particular slice. how can i do that? |
how to implement the label instant to create an image in a pie chart |
For a transparent hole, it is recommended to:
However, the following set up causes a crash:
Looking at the implementation, the holeColor is explicitly unwrapped, presumably because of the check for nil that precedes it. However, the explicit unwrapping is not in scope of the check:
Temporary workaround:
pieChart.holeColor = UIColor.clearColor()
The text was updated successfully, but these errors were encountered: