EList seriesList = null;
List seriesList = new ArrayList( );
	public static EList getOrthogonalSeriesDefinitions( Chart chart,			int axisIndex )	{		if ( chart instanceof ChartWithAxes )		{			EList axisList = ( (Axis) ( (ChartWithAxes) chart ).getAxes( )					.get( 0 ) ).getAssociatedAxes( );			if ( axisIndex >= 0 )			{				return ( (Axis) axisList.get( axisIndex ) ).getSeriesDefinitions( );			}			EList seriesList = null;			for ( int i = 0; i < axisList.size( ); i++ )			{				if ( seriesList == null )				{					seriesList = ( (Axis) axisList.get( i ) ).getSeriesDefinitions( );				}				else				{					seriesList.addAll( ( (Axis) axisList.get( i ) ).getSeriesDefinitions( ) );				}			}			return seriesList;		}		else if ( chart instanceof ChartWithoutAxes )		{			return ( (SeriesDefinition) ( (ChartWithoutAxes) chart ).getSeriesDefinitions( )					.get( 0 ) ).getSeriesDefinitions( );		}		return null;	}