Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Y-axis minimum gets set way too low when mixing positive and negative values #361

Open
juliusv opened this issue Mar 9, 2015 · 1 comment
Labels

Comments

@juliusv
Copy link
Contributor

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
@grobie
Copy link
Contributor

grobie commented Mar 9, 2015

👍 I ran into the same issue last week.

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

No branches or pull requests

2 participants