if ( series instanceof LineSeries ) { barseries.setRiserOutline( ( (LineSeries) series ).getLineAttributes( ) .getColor( ) ); } else if ( series instanceof PieSeries ) { barseries.setRiserOutline( ( (PieSeries) series ).getSliceOutline( ) ); } else if ( series instanceof StockSeries ) { barseries.setRiserOutline( ( (StockSeries) series ).getLineAttributes( ) .getColor( ) ); }
	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;		}		BarSeries barseries = (BarSeries) BarSeriesImpl.create( );		barseries.setRiser( RiserType.RECTANGLE_LITERAL );		// Copy generic series properties		ChartUIUtil.copyGeneralSeriesAttributes( series, barseries );		// Copy series specific properties		if ( series instanceof LineSeries )		{			barseries.setRiserOutline( ( (LineSeries) series ).getLineAttributes( )					.getColor( ) );		}		else if ( series instanceof PieSeries )		{			barseries.setRiserOutline( ( (PieSeries) series ).getSliceOutline( ) );		}		else if ( series instanceof StockSeries )		{			barseries.setRiserOutline( ( (StockSeries) series ).getLineAttributes( )					.getColor( ) );		}		return barseries;	}