sdOrthogonal.setSeriesDefinitionIndex( firstIndex + 1 );
sdOrthogonal.setSeriesDefinitionIndex( list.size( ) );
	protected void addNewSeriesDefinition( )	{		// Create a series definition without data definition		SeriesDefinition sdTmp = SeriesDefinitionImpl.create( );		sdTmp.getSeriesPalette( ).update( -1 );		sdTmp.getSeries( )				.add( EcoreUtil.copy( ( (SeriesDefinition) seriesDefns.get( 0 ) ).getDesignTimeSeries( ) ) );		cleanDataDefinition( sdTmp );		sdTmp.eAdapters( ).addAll( getCurrentSeriesDefinition( ).eAdapters( ) );		int firstIndex = getFirstIndexOfSameAxis( );		EList list = chart.getSampleData( ).getOrthogonalSampleData( );		// Create a new OrthogonalSampleData instance from the existing one		OrthogonalSampleData sdOrthogonal = (OrthogonalSampleData) EcoreUtil.copy( (EObject) list.get( firstIndex ) );		sdOrthogonal.setSeriesDefinitionIndex( firstIndex + 1 );		sdOrthogonal.eAdapters( ).addAll( chart.getSampleData( ).eAdapters( ) );		seriesDefns.add( sdTmp );		// Update the SampleData. Must do this after add series definition.		list.add( firstIndex + 1, sdOrthogonal );		// Reset series index of sample data		if ( axisIndex == 1 && ChartUIUtil.getOrthogonalAxisNumber( chart ) > 1 )		{			for ( int i = 0; i < list.size( ); i++ )			{				( (OrthogonalSampleData) list.get( i ) ).setSeriesDefinitionIndex( i );			}		}	}