Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这个 HighCharts 图表,它在 x 轴上有 50 多个值。这对很多人来说都是如此,我只想每 x 步显示一个值。任何想法如何做到这一点?
通过添加更改以下代码minTickInterval
minTickInterval
xAxis: { categories: myArray, minTickInterval: 5 },
提琴手
xAxis:{类别:myArray,tickInterval:5}
如果缩放太多,minTickInterval 只会阻止显示较小的单位