Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCChart3D for Java
 yAxisTitle rotation

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

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

* Forum Code is ON
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
Peter Posted - 10 Nov 2010 : 19:03:05
It doesn't seem to matter what number I use as an argument to setTextRotation, the result is always the same...ideas?


// Define the y-axis title
AxisTitle yAxisTitle = new AxisTitle( yAxis, theFont, configMap.get( "y_axis_title" ) );
yAxisTitle.setTextRotation( 180. );
yAxisTitle.setColor( ChartColors.BLACK );
chartView.addChartObject( yAxisTitle );
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 10 Nov 2010 : 19:12:06
The axis titles rotation are auto-calculated and fixed and cannot be changed. That is by design. You can create a general ChartText text object, and position it using normalized coordinates, and rotate that object.

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