Repository navigation
feat(chart): backport x-axis label cross-filter with dimensions to 6.2 (#44869) - #45001
Conversation
…pache#44869) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit ef64bac)
|
Bito Automatic Review Skipped - Branch Excluded |
|
/review |
Code Review Agent Run #914953Actionable Suggestions - 0Review 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 |
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
CodeAnt PR Risk: Low Risk
Assessed commit: |
SUMMARY
Backport of #44869 to 6.2.
On 6.2, clicking an x-axis label on bar, line, area and scatter charts only cross-filters when the chart has no dimensions. On a chart like "cases by agent, broken down by status", you can filter by status but not by agent.
With this backport, clicking an x-axis label (the y-axis labels on horizontal bars) cross-filters by that value even when dimensions are set. Clicking a bar or point keeps filtering by its dimension values, as before, and series are no longer dimmed while an x-axis filter is active.
6.2 only supports cross-filtering from categorical x-axes, so this backport covers categorical axes only. The temporal x-axis parts of the original PR are left out.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
See #44869.
TESTING INSTRUCTIONS
Unit tests from the original PR are included, adapted to 6.2.
ADDITIONAL INFORMATION
🤖 Generated with Claude Code