krysalis-jcharts/src/java/org/krysalis/jcharts/axisChart/axis YAxis.java,1.6,1.7
"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/axis
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14184/src/java/org/krysalis/jcharts/axisChart/axis
Modified Files:
YAxis.java
Log Message:
added NULL check for right axis Properties
Index: YAxis.java
===================================================================
RCS file: /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/axisChart/axis/YAxis.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** YAxis.java 1 Jul 2004 01:33:29 -0000 1.6
--- YAxis.java 22 Jul 2004 01:45:29 -0000 1.7
***************
*** 94,98 ****
// Right hand axis calc.
! if ( rightAxisTypeProperties.getShowAxis() ) {
if( rightAxisTypeProperties.showAxisLabels() )
widthNeeded+= super.getAxisLabelsGroupRight().getWidestLabel();
--- 94,98 ----
// Right hand axis calc.
! if ( rightAxisTypeProperties != null && rightAxisTypeProperties.getShowAxis() ) {
if( rightAxisTypeProperties.showAxisLabels() )
widthNeeded+= super.getAxisLabelsGroupRight().getWidestLabel();
***************
*** 373,377 ****
//---if AXIS at the right----------------------------------------------------------------------
! if (rightAxisTypeProperties.getShowAxis())
{
--- 373,377 ----
//---if AXIS at the right----------------------------------------------------------------------
! if (rightAxisTypeProperties != null && rightAxisTypeProperties.getShowAxis())
{
-------------------------------------------------------
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