Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

hugobisson
Copy link

This refer to pull request #944 - Allow PieChartView to hide labels for tiny slices but in swift 3


if j < data.entryCount && pe?.label != nil
{
if chart.limitXLableSizeInSlice == true && size.width > ((labelRadius * sliceAngle * ChartUtils.Math.FDEG2RAD) + 10) {
Copy link
Contributor

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.

@amycheong19
Copy link

May I know what's the status of this merge conflict?

@liuxuan30
Copy link
Member

@jjatie seems we can take it a higher priority? I just saw two new issues about this

@jjatie
Copy link
Collaborator

jjatie commented Jan 11, 2018

@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.

@jjatie jjatie self-assigned this Jan 11, 2018
@liuxuan30
Copy link
Member

I'm ok either 3.x or 4.0. just make it easier to merge and fix conflicts.

@jjatie
Copy link
Collaborator

jjatie commented Jan 15, 2018

@hugobisson Can you fix this?

@jjatie jjatie added this to the 3.1 milestone Jan 15, 2018
@ChartsOrg ChartsOrg locked as resolved and limited conversation to collaborators Jan 15, 2018
@jjatie jjatie closed this Jan 15, 2018
@jjatie jjatie removed this from the 3.1 milestone Jan 15, 2018
@jjatie jjatie removed their assignment Jan 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants