From: Chris M. <ki...@us...> - 2004-07-01 02:05:57
|
Update of /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/chartData In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11279/src/java/org/krysalis/jcharts/chartData Modified Files: ScatterPlotDataSet.java StockChartDataSet.java Log Message: Dual Y axis changes, add method plotAgainstRHS as Interface iAxisPlotDataSet has changed but dual axis changes not fully implemented Index: StockChartDataSet.java =================================================================== RCS file: /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/chartData/StockChartDataSet.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** StockChartDataSet.java 17 May 2003 16:58:11 -0000 1.1 --- StockChartDataSet.java 1 Jul 2004 02:05:47 -0000 1.2 *************** *** 66,69 **** --- 66,70 ---- private Paint[] paints; private StockChartProperties stockChartProperties; + private boolean plotAgainstRHS = false; *************** *** 341,344 **** --- 342,355 ---- } + /****************************************************************************************** + * Returns whether the data set should be plotted against the right hand Y axis + * + * @return plotAgainstRHS + * @see ChartType + *******************************************************************************************/ + public final boolean getPlotAgainstRHS() + { + return this.plotAgainstRHS; + } /********************************************************************************************* Index: ScatterPlotDataSet.java =================================================================== RCS file: /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/chartData/ScatterPlotDataSet.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ScatterPlotDataSet.java 31 May 2004 16:24:34 -0000 1.2 --- ScatterPlotDataSet.java 1 Jul 2004 02:05:47 -0000 1.3 *************** *** 64,67 **** --- 64,68 ---- private int numDataItems= -1; + private boolean plotAgainstRHS = false; *************** *** 245,248 **** --- 246,260 ---- + /****************************************************************************************** + * Returns whether the data set should be plotted against the right hand Y axis + * + * @return plotAgainstRHS + * @see ChartType + *******************************************************************************************/ + public final boolean getPlotAgainstRHS() + { + return this.plotAgainstRHS; + } + /********************************************************************************************* * Enables the testing routines to display the contents of this Object. *************** *** 267,269 **** --- 279,282 ---- } + } |