Is there any way to automatically calculate the ax

2019-08-09 10:34发布

问题:

I have 1000~ data labels on the xAxis and finding a way to automatically calculate the step based on the number of data labels and size of the charts.

Based on the documentation , if I do not set the step property of xAxis.labels , it will be calculated automatically, But in my case it is not.

  • Current output:

  • Expected output:

Currenlty the labels look as shown in the image. I'd expect the labels to drop automatically and do not show the ellipses. Any help would be much appreciated. Thanks.

-I'm using Highcharts-5.0.8

标签: highcharts