Can anyone tell me if it's possible to change the x-axis category label orientation?
I have a chart showing some weekly info, the weeks being labelled as 2001-42, 2001-43, etc, and the labels overlap if I display too many weeks on the chart. If the labels can be shown vertically it should tidy it up a bit:
2 2
0 0
0 0
1 1
- -
4 4
2 3
Thanks,
Laurence.
Can you change axis label orientation?
RE: Can you change axis label orientation?
HorizontalDateAxis myHorizontalAxis = (HorizontalDateAxis) myPlot.getAxis(Plot.HORIZONTAL_AXIS);
myHorizontalAxis.setVerticalTickLabels(true);
Hope this helps.
myHorizontalAxis.setVerticalTickLabels(true);
Hope this helps.