Hi everybody,
I want to make the tick labels of my bar chart vertical, but can't seem to do it. I have tried many examples found on the web. Does any one know how to do this?
Thanks
Vertical tick Labels for bar chart
-
- Posts: 15
- Joined: Mon Jun 26, 2006 8:31 pm
- Location: Paris
Hi,
Try with this code :
Try with this code :
Code: Select all
CategoryPlot categoryPlot = jfreechart.getCategoryPlot();
CategoryAxis categoryAaxis = categoryPlot.getDomainAxis();
categoryAxis.setCategoryLabelPositions(CategoryLabelPositions.UP_90);