-
-
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
PieChart legend.yOffset bug #2552
Comments
what's your problem again? you set |
@liuxuan30 my issue is that yOffset does not work. If you don't set a positive value into it, it will clip the last part of the legend. The orange part is another view. |
so you set a positive value and it will not clip? Sounds like it's working... BTW, have you checked About the clip - there's lot to check: contentRect, view bounds etc, so maybe it's not yOffset problem. |
I have this code:
it always clip the last the legend, irregardless of how many entries in the data set.

I need to put this line to move it up close to the pie chart:
pieChartView.legend.yOffset = 10.0
If I set to -10.0, it will clip some more.
pieChartView.legend.yOffset = -10.0
The text was updated successfully, but these errors were encountered: