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 );
	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		dialseries.setLabel( series.getLabel( ) );		dialseries.setVisible( series.isVisible( ) );		if ( series.eIsSet( ComponentPackage.eINSTANCE.getSeries_Triggers( ) ) )		{			dialseries.getTriggers( ).addAll( series.getTriggers( ) );		}		if ( series.eIsSet( ComponentPackage.eINSTANCE.getSeries_DataPoint( ) ) )		{			dialseries.setDataPoint( series.getDataPoint( ) );		}		if ( series.eIsSet( ComponentPackage.eINSTANCE.getSeries_DataDefinition( ) ) )		{			dialseries.getDataDefinition( ).add( series.getDataDefinition( )					.get( 0 ) );		}		// 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( ) );		}		return dialseries;	}