Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Java
 QCChart3D for Java
 yAxisTitle rotation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Peter

17 Posts

Posted - 10 Nov 2010 :  19:03:05  Show Profile  Reply with Quote
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 );

quinncurtis

1164 Posts

Posted - 10 Nov 2010 :  19:12:06  Show Profile  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07