mvanhorn opened a new pull request, #21619:
URL: https://github.com/apache/echarts/pull/21619

   ## Summary
   
   The toolbox `dataView` rendered each series as its own column with rows 
iterated in per-series order. When two series shared most categories but each 
had a few uniques, the values shifted relative to each other and the table no 
longer matched the chart. Builds a unified category axis across all series and 
emits one row per category so values line up under the same x label, with empty 
cells for series that don't have that category.
   
   ## Why this matters
   
   #21610 reported the exact case: a bar chart with two series whose categories 
diverged. The exported dataView was visually wrong even though the chart 
rendered correctly.
   
   ## Changes
   
   - `src/component/toolbox/feature/DataView.ts` - unify category axis across 
series and emit per-category rows.
   - `test/ut/spec/component/toolbox/` - unit tests covering the 
divergent-categories case and the all-categories-shared case.
   
   ## Testing
   
   New unit tests + existing dataView tests pass locally.
   
   Fixes #21610
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to