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;		}		LineSeries lineseries = (LineSeries) LineSeriesImpl.create( );		lineseries.getLineAttributes( ).setVisible( true );		lineseries.getLineAttributes( ).setColor( ColorDefinitionImpl.BLACK( ) );		if ( !( series instanceof ScatterSeries ) )		{			lineseries.getMarkers( ).clear( );			Marker marker = AttributeFactory.eINSTANCE.createMarker( );			marker.setSize( 5 );			marker.setType( MarkerType.BOX_LITERAL );			marker.setVisible( true );			lineseries.getMarkers( ).add( marker );		}		else		{			lineseries.getMarkers( )					.addAll( ( (ScatterSeries) series ).getMarkers( ) );		}		// Copy generic series properties		ChartUIUtil.copyGeneralSeriesAttributes( series, lineseries );		// Copy series specific properties		if ( series instanceof StockSeries )		{			lineseries.getLineAttributes( )					.setColor( ( (StockSeries) series ).getLineAttributes( )							.getColor( ) );		}		return lineseries;	}