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

fix #3975 (pie chart highlight disabled will lead to empty slice) #3996

Merged
merged 1 commit into from
Aug 9, 2019

Conversation

liuxuan30
Copy link
Member

@liuxuan30 liuxuan30 commented May 13, 2019

if we disable highlight for pie chart data set, we still need to render without a shift.

the old code will ignore the highlighted slice in drawDataSet() by if !chart.needsHighlight(index: j), if set.highlightEnabled=false, and leave a blank space.

if we disable highlight for pie chart data set, we still need to render without a shift.
@liuxuan30 liuxuan30 requested a review from jjatie May 13, 2019 02:55
@liuxuan30 liuxuan30 added this to To do in 4.0 Release via automation May 13, 2019
@liuxuan30 liuxuan30 self-assigned this May 28, 2019
@liuxuan30 liuxuan30 removed this from To do in 4.0 Release May 28, 2019
@liuxuan30
Copy link
Member Author

@jjatie any time recently to take a look at this?

@liuxuan30 liuxuan30 merged commit dd1bb78 into master Aug 9, 2019
Bugfix and Xcode11 support before 3.3.1 release automation moved this from Review in progress to Done Aug 9, 2019
@liuxuan30 liuxuan30 deleted the 3975 branch August 9, 2019 07:47
danielgindi added a commit that referenced this pull request Jan 23, 2020
Fixes #3996,
As that PR made normal slices render through highlight code, while disabling shift.
So special highlight colors or other styling - would still affect the normal rendering.
IncredibleStar added a commit to IncredibleStar/daniel-charts that referenced this pull request May 26, 2021
Fixes ChartsOrg/Charts#3996,
As that PR made normal slices render through highlight code, while disabling shift.
So special highlight colors or other styling - would still affect the normal rendering.
rcblue added a commit to rcblue/Charts that referenced this pull request Jan 6, 2023
Fixes ChartsOrg/Charts#3996,
As that PR made normal slices render through highlight code, while disabling shift.
So special highlight colors or other styling - would still affect the normal rendering.
SwiftPolar pushed a commit to SwiftPolar/Charts that referenced this pull request Mar 20, 2023
Fixes ChartsOrg#3996,
As that PR made normal slices render through highlight code, while disabling shift.
So special highlight colors or other styling - would still affect the normal rendering.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant