Skip to content

kup-echart: Map pie series event to correct data row#2821

Merged
pasere-smeup merged 1 commit intodevelopfrom
fix/chart-with-grouping
Mar 24, 2026
Merged

kup-echart: Map pie series event to correct data row#2821
pasere-smeup merged 1 commit intodevelopfrom
fix/chart-with-grouping

Conversation

@stefanolanari
Copy link
Copy Markdown
Collaborator

Handle e.seriesType === 'pie' by locating the matching row using the axis cell value (matching e.name), cloning it to avoid mutating the original data, and updating the series cell with the pie slice value (setting both .value and .obj.k). This ensures chart interactions return the correct row/value for grouped pie data.

Handle e.seriesType === 'pie' by locating the matching row using the axis cell value (matching e.name), cloning it to avoid mutating the original data, and updating the series cell with the pie slice value (setting both .value and .obj.k). This ensures chart interactions return the correct row/value for grouped pie data.
@pasere-smeup pasere-smeup merged commit 34f3f87 into develop Mar 24, 2026
1 check passed
@pasere-smeup pasere-smeup deleted the fix/chart-with-grouping branch March 24, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants