krysalis-jcharts/src/java/org/krysalis/jcharts/properties AxisTypeProperties.java,1.2,1.3

Chris McKay <[email protected]> Mon, 14 Jun 2004 01:24:18 +0000
Newsgroups gmane.comp.krysalis.jcharts.cvs
Message-ID <[email protected]>
Update of /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/properties
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7285/src/java/org/krysalis/jcharts/properties

Modified Files:
	AxisTypeProperties.java 
Log Message:
Addition of X axis label rotation functionality. New method added to AxisTypeProperties:
e.g.: call with axisProperties.getXAxisProperties().setLabelRotationAngle(30);

Index: AxisTypeProperties.java
===================================================================
RCS file: /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/properties/AxisTypeProperties.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AxisTypeProperties.java	27 Aug 2003 04:37:44 -0000	1.2
--- AxisTypeProperties.java	14 Jun 2004 01:24:16 -0000	1.3
***************
*** 98,101 ****
--- 98,103 ----
          private double maxRightAxis = 0;
  
+ 		private int labelRotationAngle = 0;
+ 
  	private ChartFont titleChartFont= ChartFont.DEFAULT_AXIS_TITLE;
  
***************
*** 349,352 ****
--- 351,367 ----
  
  
+ 	public int getLabelRotationAngle()
+ 	{
+ 		return this.labelRotationAngle;
+ 	}
+ 
+ 
+ 	public void setLabelRotationAngle( int labelRotationAngle )
+ 	{
+ 		this.labelRotationAngle = labelRotationAngle;
+ 	}
+ 
+ 
+ 
  	/*********************************************************************************************
  	 * Enables the testing routines to display the contents of this Object.



-------------------------------------------------------
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