krysalis-jcharts/src/documentation/content/xdocs/userGuide/axisCharts/common axisLabels.xml,1.1,1.2

Chris McKay <[email protected]> Mon, 14 Jun 2004 03:35:18 +0000
Newsgroups gmane.comp.krysalis.jcharts.cvs
Message-ID <[email protected]>
Update of /cvsroot/jcharts/krysalis-jcharts/src/documentation/content/xdocs/userGuide/axisCharts/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22405/src/documentation/content/xdocs/userGuide/axisCharts/common

Modified Files:
	axisLabels.xml 
Log Message:
Documentation of Rotated X Axis Labels and sample image, also add doco for vertical labels while I was there

Index: axisLabels.xml
===================================================================
RCS file: /cvsroot/jcharts/krysalis-jcharts/src/documentation/content/xdocs/userGuide/axisCharts/common/axisLabels.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** axisLabels.xml	5 Jun 2004 13:30:06 -0000	1.1
--- axisLabels.xml	14 Jun 2004 03:35:16 -0000	1.2
***************
*** 16,26 ****
  		
  		<section>
! 			<title>Rotation</title>
  			<p>
  			</p>
  			<source>
  			</source>
  			<figure src="images/userGuide/axisCharts/verticalXAxisLabels.png" alt="Label Rotation"/>
  		</section>
  		
  		<section>
--- 16,52 ----
  		
  		<section>
! 			<title>Vertical X Axis Labels</title>
  			<p>
+ 				By default, the X-Axis labels are rendered horizontally under the tick. This can be changed to vertical by using a 
+ 				method on the AxisProperties Object.
+ 			</p>
+ 			<p>
+ 				The following example sets the x-axis labels to be rendered at an angle of 90 degrees.
  			</p>
  			<source>
+ 			axisProperties = new AxisProperties( false );
+ 			axisProperties.setXAxisLabelsAreVertical( true );
  			</source>
  			<figure src="images/userGuide/axisCharts/verticalXAxisLabels.png" alt="Label Rotation"/>
  		</section>
+ 		<section>
+ 			<title>Rotated X Axis Labels</title>
+ 			<p>
+ 				By default, the X-Axis labels are rendered horizontally under the tick. This can be changed to an angle by using a 
+ 				method on the AxisTypeProperties Object. The label is centered at the top middle of the text label.
+ 			</p>
+ 			<warning>
+ 				Note: The label rotation value must be between 0 and 90, the behaviour for angles greater or less 
+                               than this range is undefined
+ 			</warning>
+ 			<p>
+ 				The following example sets the x-axis labels to be rendered at an angle of 30 degrees.
+ 			</p>
+ 			<source>
+ 		AxisProperties axisProperties= new AxisProperties( false );
+ 		axisProperties.getXAxisProperties().setLabelRotationAngle(30);
+ 			</source>
+ 			<figure src="images/userGuide/axisCharts/rotatedXAxisLabels.png" alt="X Axis Label Rotation"/>
+ 		</section>
  		
  		<section>



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504