Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

max Y Axis value in a Highchart

Tags:

highcharts

http://jsfiddle.net/BYeBa/

yAxis: {

           min: 0,

           max: 75,

           title: {

               text: ''

           }

I am not sure why I cannot set the max value of the y axis in this highchart. I don't want it to go over 75. None of the data I have populate even goes near the value of 75.

Why does it stay at 100?

like image 416
user1110562 Avatar asked May 09 '26 14:05

user1110562


1 Answers

This is caused by endOnTick. If you set

endOnTick:false 

75 will be your max.

See http://jsfiddle.net/kzoon/BYeBa/4/

like image 94
Koos Avatar answered May 12 '26 12:05

Koos