gpt4 book ai didi

javascript - Highcharts JS : Gap between X-Axis labels is too thin

转载 作者:行者123 更新时间:2023-11-30 00:21:46 27 4
gpt4 key购买 nike

当我缩放窗口大小时可以显示更多标签时,X 轴上标签之间的间隙太小。 Highcharts 引擎计算间隙并在不同的断点处设置间隙为零。标签相互接触,对于这个问题,我需要一个解决方案。

I've testing it and the rotation of 90 degrees is not the problem.

type: 'datetime',
labels: {
rotation: -90
}

直播: jsfiddle.net/k5ckfh76/

最佳答案

labels: {
style: {
color: 'blue'
},
rotation: 90,
staggerLines: 2
}

关于javascript - Highcharts JS : Gap between X-Axis labels is too thin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32862767/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com