-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button to reset chart zoom #23469
Button to reset chart zoom #23469
Conversation
Just mentioned this missing feature on discord 😄 thank you for your work!! Most likely there is a reason, why not going for double tab/click? Could be used on all type of charts. |
We may add double click in the future. It just requires more work |
Should it be added to a timeline graph as well? |
no room on timeline charts. This button is redundant so not a big deal. Also we'll see if we can add double tap which will make this btn extra redundant |
if the zooming worked properly it would change the scale of X. There is an open PR in the lib to fix this. |
I know people sometimes want to zoom the X scale to see more detail on their small consumers, when the chart is dominated by one huge bar (like an electric car). Sounds like we need the "open PR in the lib" to achieve this. Thanks for the response. |
Proposed change
Button is only shown on numeric state charts. Also flipped the zoom axis on the "Individual devices total usage" graph so it properly zooms in y now
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: