fix(echarts): format mixed timeseries value labels by assigned axis#40420
fix(echarts): format mixed timeseries value labels by assigned axis#40420innovark37 wants to merge 1 commit into
Conversation
Code Review Agent Run #b07504Actionable Suggestions - 0Additional Suggestions - 1
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #40420 +/- ##
=======================================
Coverage 64.20% 64.20%
=======================================
Files 2592 2592
Lines 139226 139234 +8
Branches 32326 32329 +3
=======================================
+ Hits 89386 89394 +8
Misses 48305 48305
Partials 1535 1535
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
SUMMARY
Fixes Mixed Timeseries value labels using the wrong Y-axis formatter when Query A and Query B are assigned to different Y axes.
Previously, value labels were formatted based on the query slot instead of the assigned axis:
This was incorrect when a query was assigned to the opposite axis. The fix selects the formatter from the series’ assigned
yAxisIndex/yAxisIndexB, matching tooltip and Y-axis tick formatting behavior.Bar value-label clipping is also aligned with the assigned Y-axis bounds.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
BEFORE


AFTER


TESTING INSTRUCTIONS
Manual verification:
.0%.,.1f.ADDITIONAL INFORMATION