I\'m trying to set a minimum upper bound, specifically:
A way to do this only using options (no events or functions) is:
yAxis: {
min: 0,
minRange: 10,
maxPadding: 0
}
Here minRange
defines the minimum span of the axis. maxPadding
defaults to 0.01 which would make the axis longer than 10, so we set it to zero instead.
This yields the same results as a setExtreme
would give. See this JSFiddle demonstration.