Skip to content
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

Feature: clamp y-axis min and max #26597

Closed
abursavich opened this issue Jul 24, 2020 · 1 comment
Closed

Feature: clamp y-axis min and max #26597

abursavich opened this issue Jul 24, 2020 · 1 comment

Comments

@abursavich
Copy link
Contributor

What would you like to be added:

I would like an option to clamp the max and/or min y-axis value without specifying a fixed min or max value, which would allow the max and min to be automatically adjusted within that range (of the min-min and max-max).

Call it whatever you want: clamp max, max max, soft max, hard max, something completely different...

It can be a different field or a checkbox next to each current min and max.

Why is this needed:

Frequently, especially when dealing with percentages, I don't want to set the min and max (e.g. 0% and 100%), because I want the y-axis to be zoomed in when the elements are all clustered together (e.g. between 20% and 30%). However, I don't want the y-axis to extend beyond the valid values (e.g. 0% and 100%) when the elements are not clustered together (e.g. between 5% and 95%).

NO:
Screen Shot 2020-07-24 at 4 22 33 PM

YES:
Screen Shot 2020-07-24 at 4 25 33 PM

NO:
Screen Shot 2020-07-24 at 4 28 04 PM

YES:
Screen Shot 2020-07-24 at 4 28 22 PM

@torkelo
Copy link
Member

torkelo commented Jul 25, 2020

duplicate of #979

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants