[question] How to display band as selected (controlled) #15019
Labels
component: charts
This is the name of the generic UI component, not the React module!
support: commercial
Support request from paid users
The problem in depth
I'm looking for a way to select an x value in bar chart. I'm thinking of highlighting the x band in the same way it's done when hovering.
The idea is to visualize which month is selected inside the chart. In the image above you see a month selector in the upper right corner. As the user changes the month I want to highlight that month in the chart (more or less in the same manner it's done when hovering the bars/bands along the x-axis).
Maybe I need to write a custom component, that displays just like the hovering backdrop on x axis band?
Your environment
`npx @mui/envinfo`
Search keywords: charts highlight band
Order ID: #54140
The text was updated successfully, but these errors were encountered: