I suppose this should be a no brainer for some, but I couldn't find it in those awful auto generated documentation
Asked
Active
Viewed 2.6k times
21
-
6Its already documented at http://www.highcharts.com/ref/#yAxis--min. If you didn't try or can't find. It does not mean its awful. – Hardik Mishra Aug 01 '12 at 04:20
-
@HardikMishra, the given url seems to be broken. correct : http://api.highcharts.com/highcharts#yAxis.min – dresh Oct 30 '15 at 08:45
1 Answers
45
You should add in your yAxis property in chart object min : 0
It's simillar question to: How to set Highcharts chart maximum yAxis value
-
1Note that `min` may not be strictly obeyed. In [this example](https://jsbin.com/fomoket/edit?js,output), I've set `min` to -1 but the yAxis goes down to -10. – Dan Dascalescu Aug 09 '18 at 06:36