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

Y-axis minimum gets set way too low for negative values #584

Closed
juliusv opened this Issue Mar 9, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@juliusv
Copy link
Member

juliusv commented Mar 9, 2015

See:

weird_y_axis
weird_y_axis_options

The negative Y axis minimum always seems to get set to minimumValue * abs(minimumValue - 1), as you can see from these example minimumValue->yMinimum mappings I tried out:

-1 =>  -2  (-1*2)
-2 =>  -6  (-2*3)
-3 => -12  (-3*4)
-4 => -20  (-4*5)
-5 => -30  (-5*6)
-6 => -42  (-6*7)
-7 => -56  (-7*8)

This quickly leads to absurdly low Y-axis minimums and the graph becomes useless. This only seems to happen if there are also values at or above 0 in the graph.

@juliusv juliusv added the bug label Mar 9, 2015

@juliusv

This comment has been minimized.

Copy link
Member Author

juliusv commented Mar 9, 2015

I meant to file this in PromDash. Closing here.

@juliusv juliusv closed this Mar 9, 2015

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.