vertical item labels?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
mhilpert
Posts: 497
Joined: Wed Apr 02, 2003 1:57 pm
Location: Germany

vertical item labels?

Post by mhilpert » Mon Aug 15, 2005 10:36 am

The axis labels can be rotated via setVerticalTickLabels() / setCategoryLabelPositions(CategoryLabelPositions.UP_90). But how can I rotate the item labels?

I would like to display the item labels vertically as some bar charts have many bar's and then there's not enough space to draw the item labels (percentage numbers like '23,75 %') the standard way.
Java 11, JFreeChart 1.0.15, JFreeSVG 4.0

kianfatt1982

I foung and asnwer to your problem

Post by kianfatt1982 » Thu Sep 22, 2005 4:41 am

I had a similar problem with you and I found the answer at this thread below :>

http://www.jfree.org/phpBB2/viewtopic.p ... ate+labels

kianfatt1982

New problem

Post by kianfatt1982 » Thu Sep 22, 2005 4:43 am

Now I have a new problem which is how do I actually rotate the label on the plot liness,


My E-Mial :- kf.ting@formis.net

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: New problem

Post by david.gilbert » Thu Sep 22, 2005 8:46 am

kianfatt1982 wrote:Now I have a new problem which is how do I actually rotate the label on the plot liness
I don't understand what you mean.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

bkieser
Posts: 9
Joined: Wed Jan 26, 2005 5:55 pm
Location: UK
Contact:

Post by bkieser » Thu Oct 20, 2005 4:37 pm

You use domainAxis.setLabelAngle

Locked