Is there any way to automatically calculate the ax

2019-08-09 10:17发布

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:

Current problem

  • Expected 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
0条回答
登录 后发表回答