-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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: Stacked charts with numerical columns #26264
fix: Stacked charts with numerical columns #26264
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #26264 +/- ##
==========================================
- Coverage 69.18% 69.18% -0.01%
==========================================
Files 1945 1945
Lines 75948 75948
Branches 8460 8460
==========================================
- Hits 52545 52542 -3
- Misses 21218 21221 +3
Partials 2185 2185
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
I can't speak with authority to the code so would like @villebro to review as well - but the fix looks good to me on the surface!
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.
LGTM
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.
LGTM to unblock. Let's collab on adding upstream support for this to ECharts.
(cherry picked from commit 429e2a3)
(cherry picked from commit 429e2a3)
(cherry picked from commit 429e2a3)
SUMMARY
#26087 added support for numerical x-axis but ended up introducing #26255 and #26256 because ECharts does not support stacked charts with numerical x-axis. This PR converts the x-axis to type
category
when a chart is stacked.Fixes: #26255
Fixes: #26256
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
1 - Create a stacked chart with a numerical x-axis
2 - Make sure the axis and tooltip are calculated correctly
ADDITIONAL INFORMATION