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

automatically calculated labels with a custom roof (axisMaxValue only if exceeding it) #1074

Closed
everlof opened this issue May 25, 2016 · 1 comment

Comments

@everlof
Copy link

everlof commented May 25, 2016

Is there any way to use "automatically calculated" axis values, but limit the maximum to a number?

For example if Im plotting percentage. If I have 30%, 35%, 35%, I want it to calculate the axis values automatically, maybe max 45% and min 20%, perhaps.

But if I have, 80%, 95%, 95%, I want maybe 70% as min and 100% as max, since it doesnt make sense to use higher than 100%.

Is there any way to get a combination of these two?

@everlof everlof changed the title axisMaxValue with a custom roof automatically calculated labels with a custom roof (axisMaxValue only if exceeding it) May 25, 2016
@danielgindi
Copy link
Collaborator

if axisMaxValue > 100.0 && !isAxisMaxCustom
{
  axisMaxValue = 100.0
}

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