Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCChart2D for Java
 Rotating YAxis Title

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
RunnerGirl Posted - 26 Feb 2007 : 11:49:15
I'm trying to rotate the yaxis titles so they don't overlap on a polygraph style display. The call to setTextRotation doesn't seem to have any effect. Here is the code that I am using:

AxisTitle yAxisTitle = new AxisTitle();
yAxisTitle.setAxisTitle(yaxis, font24, m_vParams.get(i).getName());
yAxisTitle.setTextRotation(45.0);
chartVu.addChartObject(yAxisTitle);

Thank you.
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 28 Feb 2007 : 16:05:43
Unlike our generic ChartText class, and the axis labels classes, the axis title class uses a fixed rotation, setting it 90 degrees for y-axis titles, and leaving it a 0 for x-axis titles. Calling setTextRotation will have no effect. There is no way to change that behavior for the AxisTitle class. You could try and use ChartText objects instead, placing them in the positions you want.

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07