How to set Highcharts chart maximum yAxis value

bwagner picture bwagner · Jul 27, 2011 · Viewed 107.9k times · Source

I've been trying for two days to find a way to set the maximum value of the yAxis on Highcharts.

I got a percentage column graphic, but the highest value in the series is 60, so it adjusts the axis to top at 70, I found a way to choose the start point, but no way to choose the end point.

What I really need is to set the yAxis from 0 to 100, so the data will be more accurately viewed as percentage

Thanks in advance, Bruno W.G.

Answer

Peter picture Peter · Jul 27, 2011

Try this:

yAxis: {min: 0, max: 100}

See this jsfiddle example