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

Can't update max/min for yAxis if userMax is set #2306

Closed
ibash opened this issue Oct 1, 2013 · 1 comment

Comments

@ibash
Copy link

commented Oct 1, 2013

Wasn't sure if this was a bug, but reporting just in case.

Steps:
http://jsfiddle.net/x3w2Y/
Click "go" a few times on the fiddle
Now, uncomment //chart.yAxis[0].setExtremes(9, 100, true, false);
Click "go" a few times on the fiddle

Expected:
Even if extremes have been set, if I set the max/min on an axis afterwards it should redraw to that max and min

Actual:
Extremes take precedence anyway

@TorsteinHonsi

This comment has been minimized.

Copy link
Collaborator

commented Apr 8, 2014

Reverted this issue. The expected behaviour is that setExtremes takes precedence over options min and max. To prevent it, call setExtremes with undefined arguments before Axis.update.

arjeousski added a commit to arjeousski/highcharts.com that referenced this issue Apr 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.