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

Gann Bierner <[email protected]> Tue, 16 Nov 2004 07:02:28 +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-serv12415/src/documentation/content/xdocs/userGuide/axisCharts/common

Modified Files:
	axisLabels.xml 
Log Message:
Added ability to align rotated X-labels at the top rather the bottom.  This also causes the tops to point directly to the matching points on the X axis rather than be centered below them.  Finally, just like with purely vertical labels, we only need consider the text height rather than width to figure out how many to show in this case.

Index: axisLabels.xml
===================================================================
RCS file: /cvsroot/jcharts/krysalis-jcharts/src/documentation/content/xdocs/userGuide/axisCharts/common/axisLabels.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** axisLabels.xml	14 Jun 2004 03:35:16 -0000	1.2
--- axisLabels.xml	16 Nov 2004 07:02:25 -0000	1.3
***************
*** 46,49 ****
--- 46,52 ----
  		AxisProperties axisProperties= new AxisProperties( false );
  		axisProperties.getXAxisProperties().setLabelRotationAngle(30);
+ 		// The line below causes the labels to be aligned at the top rather than bottom
+ 		// and to point to the matching position on the X-axis rather than centered below.
+ 		// axisProperties.getXAxisProperties().setRotatedLabelAlignTop(true);
  			</source>
  			<figure src="images/userGuide/axisCharts/rotatedXAxisLabels.png" alt="X Axis Label Rotation"/>



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8