Ashutosh0x opened a new pull request, #36896:
URL: https://github.com/apache/superset/pull/36896

   ## Summary
   
   This PR adds support for **stacked grouped bar charts** in Apache Superset's 
ECharts MixedTimeseries plugin.
   
   ### Before
   - Charts support either grouping OR stacking, not both simultaneously
   
   ### After
   - Charts can have bars that are **grouped (side-by-side) AND stacked (on top 
of each other)**
   - Example: Display "User Stories" and "Bugs" grouped by sprint, with "Bugs" 
stacked by priority (P1 vs P2/P3)
   
   ### Changes
   
   1. **`transformers.ts`**: Added `stackGroup` parameter to `transformSeries()`
      - When provided, it becomes the base stack ID for grouped stacks
      - Allows multiple grouped series to each have their own stack
   
   2. **`transformProps.ts`**: Auto-detects grouped+stacked scenarios
      - When multiple groupby dimensions exist, first dimension → stackGroup
      - Remaining dimensions → stacked within each group
   
   ### Testing Instructions
   1. Create a chart with MixedTimeseries/Bar type
   2. Add 2+ groupby dimensions (e.g., "Category", "Priority")
   3. Enable stacking
   4. Bars should group by first dimension, stack by remaining dimensions
   
   ### Related Issue
   Fixes #32496
   


-- 
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