Auto rotate X-axis label on column chart
In a column chart, it looks fine with the x-axis label rotation of 315 when the bars are closed together. However, when the bars are sparse, then it looks too spacious and unnecessary. The trouble is I don't know how many data points in advance. I would like a new feature with autoRotation: 315 for the axis label.
![](https://secure.gravatar.com/avatar/6e61e09959b645d788f951ff3aa317e5?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Dell commented
xAxis: {
categories:[{{ categories|raw }}],
labels: {
rotation: -60,
align: 'right',
style: {
fontSize: '13px',
fontFamily: 'Verdana, sans-serif'
}
}
},