Setting min and max for xAxis and yAxis not a good solution! Because if the data will be downloaded later (when it will be resolved), then you will not automatically calculate min and max. In the Highcharts API , he said:
If null, the maximum value is calculated automatically
So, when loading data, you should set min and max to null . But in my case, setting it to zero or even deleting the option did not lead to automatic calculation (it seems strange).
Instead, I set charts.showAxes to true! It. Take a look at the demo provided by Highcharts
Important: You, of course, need to install the series like this:
series: [ { data: [null, null, null] }, { data: [null, null, null] } ]
Note. Make sure xAxis.showEmpty and yAxis.showEmpty are set to true (this is true by default).
source share