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

   ### SUMMARY
   Clicking an x-axis label on bar, line, area and scatter charts only emits a 
cross-filter 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 change, clicking an x-axis label (the y-axis labels on horizontal 
bars) cross-filters by that x-axis value even when dimensions are set. Clicking 
a bar or point keeps filtering by its dimension values, as before. While an 
x-axis filter is active, the chart's series are no longer dimmed as if they 
were deselected.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   Before: on a chart with dimensions, clicking an axis label does nothing.
   After: clicking an axis label adds a cross-filter on the x-axis column.
   
   ### TESTING INSTRUCTIONS
   New unit tests added.
   
   ### ADDITIONAL INFORMATION
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [x] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [x] Introduces new feature or API
   - [ ] Removes existing feature or API
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


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