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.
-
Dell commented
xAxis: {
categories:[{{ categories|raw }}],
labels: {
rotation: -60,
align: 'right',
style: {
fontSize: '13px',
fontFamily: 'Verdana, sans-serif'
}
}
},