高库存图表的标签旋转似乎不起作用
演示:https://jsfiddle.net/py9cjw1z/
xAxis: {
labels: {
autoRotation: [-45,-45,-45,-45,-45,-45,-45,-45,-45,-45]
}
},
答案 0 :(得分:2)
使用rotation
而不是autoRotation
属性:
xAxis: {
labels: {
rotation: -45
}
}
实时演示: https://jsfiddle.net/BlackLabel/27jhc9u3/
API参考: https://api.highcharts.com/highcharts/xAxis.labels.rotation