Hi ,i would like to change the xaxis scale orientation(horizontal,vertical).
anybody please tell me how to do that ?
Regards
Ram
How to change X-Axis scale orientation
Re: How to change X-Axis scale orientation
You mean the labels of the tick units???
If you are working with CategoryAxis:
Horizontal --> domainAxis.setCategoryLabelPositions(CategoryLabelPositions.STANDARD);
Vertical --> domainAxis.setCategoryLabelPositions(CategoryLabelPositions.DOWN_90);
If you are working with a ValueAxis:
Horizontal --> rangeAxis.setVerticalTickLabels(false);
Vertical --> rangeAxis.setVerticalTickLabels(true);
I think that's what you meant.
If you are working with CategoryAxis:
Horizontal --> domainAxis.setCategoryLabelPositions(CategoryLabelPositions.STANDARD);
Vertical --> domainAxis.setCategoryLabelPositions(CategoryLabelPositions.DOWN_90);
If you are working with a ValueAxis:
Horizontal --> rangeAxis.setVerticalTickLabels(false);
Vertical --> rangeAxis.setVerticalTickLabels(true);
I think that's what you meant.
Re: How to change X-Axis scale orientation
Thank you very much chan !!!
Regards
Ram
Regards
Ram