Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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
Copy link
Member Author

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

@liuxuan30 liuxuan30 merged commit dd1bb78 into master 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.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant