How to rotate the domain labels to allow longer labels
How to rotate the domain labels to allow longer labels
I'm trying to figure out how to rotate the x-axis labels in a Category plot, but I can't seem to find any info on this. I'd like to be able to rotate the text to 45 degrees so that I can see the full date. Thanks in advance.
Code: Select all
plot.getDomainAxis().setCategoryLabelPositions(CategoryLabelPositions.UP_45);