From: Gann B. <ga...@us...> - 2004-11-16 07:02:43
|
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"/> |