krysalis-jcharts/src/java/org/krysalis/jcharts/chartData AxisDataSeries.java,1.2,1.3

Chris McKay <[email protected]> Thu, 01 Jul 2004 01:40:07 +0000
Newsgroups gmane.comp.krysalis.jcharts.cvs
Message-ID <[email protected]>
Update of /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/chartData
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7921/src/java/org/krysalis/jcharts/chartData

Modified Files:
	AxisDataSeries.java 
Log Message:
Dual Y axis changes, add String for rightAxisTitle

Index: AxisDataSeries.java
===================================================================
RCS file: /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/chartData/AxisDataSeries.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AxisDataSeries.java	31 May 2004 16:24:34 -0000	1.2
--- AxisDataSeries.java	1 Jul 2004 01:40:05 -0000	1.3
***************
*** 61,64 ****
--- 61,65 ----
  	private String xAxisTitle;
  	private String yAxisTitle;
+ 	private String rightYAxisTitle = null;
  	protected HashMap dataSets;
  
***************
*** 84,87 ****
--- 85,106 ----
  
  	/******************************************************************************************
+ 	 * Constructor
+ 	 *
+ 	 * @param xAxisTitle if this is NULL, no title will be displayed
+ 	 * @param yAxisTitle if this is NULL, no title will be displayed
+ 	 * @param rightYAxisTitle if this is NULL, no title will be displayed
+ 	 * @param chartTitle if this is NULL, no title will be displayed
+ 	 *******************************************************************************************/
+ 	public AxisDataSeries( String xAxisTitle, String yAxisTitle, String rightYAxisTitle, String chartTitle )
+ 	{
+ 		this.xAxisTitle=xAxisTitle;
+ 		this.yAxisTitle=yAxisTitle;
+ 		this.rightYAxisTitle=rightYAxisTitle;
+ 		this.chartTitle=chartTitle;
+ 		dataSets = new HashMap();
+ 	}
+ 
+ 
+ 	/******************************************************************************************
  	 * Returns the x-axis title
  	 *
***************
*** 104,107 ****
--- 123,136 ----
  	}
  
+ 	/******************************************************************************************
+ 	 * Returns the right hand side y-axis title
+ 	 *
+ 	 * @return String
+ 	 *******************************************************************************************/
+ 	public String getRightYAxisTitle()
+ 	{
+ 		return this.rightYAxisTitle;
+ 	}
+ 
  
  	/******************************************************************************************



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com