Update of /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/axisChart
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14184/src/java/org/krysalis/jcharts/axisChart
Modified Files:
AxisChart.java
Log Message:
added NULL check for right axis Properties
Index: AxisChart.java
===================================================================
RCS file: /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/axisChart/AxisChart.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** AxisChart.java 1 Jul 2004 01:25:23 -0000 1.9
--- AxisChart.java 22 Jul 2004 01:45:28 -0000 1.10
***************
*** 263,268 ****
NumericTagGroup numericTagGroup= setupDataAxisProperties( this.yAxis, dataAxisProperties, axisChartDataProcessor, fontRenderContext );
this.yAxis.setAxisLabelsGroup( numericTagGroup );
// compute the labels of the right axis if necessary
! if ( this.axisProperties.getRightYAxisProperties().getShowAxis() )
{
DataAxisProperties rightDataAxisProperties = ( DataAxisProperties ) this.getAxisProperties().getRightYAxisProperties();
--- 263,271 ----
NumericTagGroup numericTagGroup= setupDataAxisProperties( this.yAxis, dataAxisProperties, axisChartDataProcessor, fontRenderContext );
this.yAxis.setAxisLabelsGroup( numericTagGroup );
+
+
// compute the labels of the right axis if necessary
! if ( this.axisProperties.getRightYAxisProperties() != null
! && this.axisProperties.getRightYAxisProperties().getShowAxis() )
{
DataAxisProperties rightDataAxisProperties = ( DataAxisProperties ) this.getAxisProperties().getRightYAxisProperties();
|