private Series getConvertedSeries( Series series )
private Series getConvertedSeries( Series series, int seriesIndex )
	private Series getConvertedSeries( Series series )	{		// Do not convert base series		if ( series.getClass( )				.getName( )				.equals( "org.eclipse.birt.chart.model.component.impl.SeriesImpl" ) ) //$NON-NLS-1$		{			return series;		}		DialSeries dialseries = (DialSeries) DialSeriesImpl.create( );		// Copy generic series properties		ChartUIUtil.copyGeneralSeriesAttributes( series, dialseries );		// Copy series specific properties		if ( series instanceof LineSeries )		{			dialseries.getDial( )					.setLineAttributes( ( (LineSeries) series ).getLineAttributes( ) );		}		else if ( series instanceof StockSeries )		{			dialseries.getDial( )					.setLineAttributes( ( (StockSeries) series ).getLineAttributes( ) );		}				if ( dialseries.getDial( ).getLineAttributes( ) == null )		{			dialseries.getDial( )					.getLineAttributes( )					.setColor( ColorDefinitionImpl.BLACK( ) );			dialseries.getDial( )					.getLineAttributes( )					.setStyle( LineStyle.SOLID_LITERAL );			dialseries.getDial( ).getLineAttributes( ).setThickness( 1 );		}		dialseries.getDial( ).getLineAttributes( ).setVisible( true );				return dialseries;	}