How can I get the max value of a y axis at highcharts?
i.e. http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/line-basic/ here max value is 30. If you disable New York and Tokyo it is 20 and so on.
Any ideas?
Assuming that
chartis your chart var.chart.yAxis[0].max;demo
Update
@Anagio told that it’s possible to get it the following way.
chart.yAxis[0].getExtremesThis way you can get the data values and the tick values.
The data values are the values from your series, while the tick values are the values from chart lines.
Reference