krysalis-jcharts/src/java/org/krysalis/jcharts/axisChart AxisChart.java,1.9,1.10
"Nathaniel G. Auvil" <[email protected]> Thu, 22 Jul 2004 01:45:31 +0000
| Newsgroups | gmane.comp.krysalis.jcharts.cvs |
|---|---|
| Message-ID | <[email protected]> |
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();
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click