-
-
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
Allow PieChartView to hide labels for tiny slices - Swift 3 #2062
Conversation
|
||
if j < data.entryCount && pe?.label != nil | ||
{ | ||
if chart.limitXLableSizeInSlice == true && size.width > ((labelRadius * sliceAngle * ChartUtils.Math.FDEG2RAD) + 10) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to have the bug described in the conversation for #944.
May I know what's the status of this merge conflict? |
@jjatie seems we can take it a higher priority? I just saw two new issues about this |
@liuxuan30 agreed. I think the default behaviour should be to hide smaller labels too. If @hugobisson of this PR doesn't update it in the next few days, I will add it. Should this be targeted to 3.x or 4.0.0? I'm thinking 4.0.0. |
I'm ok either 3.x or 4.0. just make it easier to merge and fix conflicts. |
@hugobisson Can you fix this? |
This refer to pull request #944 - Allow PieChartView to hide labels for tiny slices but in swift 3