tomerkl65 opened a new pull request, #41907:
URL: https://github.com/apache/superset/pull/41907
### SUMMARY
Adds a hierarchical drill-down interaction for ECharts charts. The chart
author
defines an ordered list of columns in a new **Drill-down hierarchy** control.
On a dashboard, left-clicking a data point drills to the next level scoped to
the clicked value, shows a breadcrumb for navigating back up, and emits a
cross-filter for the full drill path so other charts stay in sync.
Design decisions:
- **Dedicated `drilldown_hierarchy` control** — the x-axis control stays a
single (scalar) column, so existing charts and all downstream query
consumers are unaffected. No global `multi` change, no feature flag needed.
- **Full-path cross-filter** — emitted centrally by the DrillDownHost (which
owns the drill stack), so downstream charts are scoped to the entire path,
not just the deepest clicked column.
- **Leaf selection** narrows the drilled chart to the clicked value at the
deepest level, consistently across charts.
Supported charts: Bar, Line, Area, Scatter, Smooth Line, Step (x-axis based)
and Pie, Funnel, Gauge, Radar, Box Plot (groupby based).
### TESTING INSTRUCTIONS
1. Create a Bar chart, set a single X-axis column, open **Drill-down
hierarchy**
and add the deeper levels; save and add to a dashboard.
2. Click a bar → chart drills to the next level scoped to the clicked value;
a
breadcrumb appears.
3. Confirm other dashboard charts are cross-filtered by the full path.
4. Use the breadcrumb to navigate back up; verify the chart restores.
5. Repeat with a groupby chart (e.g. Pie).
### ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [ ] Required feature flags:
- [x] Changes UI
- [ ] Includes DB Migration
- [x] Introduces new feature or API
- [ ] Removes existing feature or API
<img width="1776" height="994" alt="image"
src="https://github.com/user-attachments/assets/b0983fa5-010e-4899-bbf5-c0711c29e5c2"
/>
--
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]