areaseries.getMarkers( ).clear( ); Marker marker = AttributeFactory.eINSTANCE.createMarker( ); marker.setSize( 5 ); marker.setType( MarkerType.BOX_LITERAL ); marker.setVisible( false ); areaseries.getMarkers( ).add( marker ); } else { areaseries.getMarkers( ).clear( ); areaseries.getMarkers( ) .addAll( ( (ScatterSeries) series ).getMarkers( ) );  for ( Iterator itr = areaseries.getMarkers( ).iterator( ); itr.hasNext( ); ) { Marker mk = (Marker) itr.next( ); mk.setVisible( false ); }
areaseries = (AreaSeries) AreaSeriesImpl.create( );
	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;		}		AreaSeries areaseries = (AreaSeries) AreaSeriesImpl.create( );		areaseries.getLineAttributes( ).setVisible( true );		areaseries.getLineAttributes( ).setColor( ColorDefinitionImpl.BLACK( ) );		if ( !( series instanceof ScatterSeries ) )		{			areaseries.getMarkers( ).clear( );			Marker marker = AttributeFactory.eINSTANCE.createMarker( );			marker.setSize( 5 );			marker.setType( MarkerType.BOX_LITERAL );			marker.setVisible( false );			areaseries.getMarkers( ).add( marker );		}		else		{			areaseries.getMarkers( ).clear( );			areaseries.getMarkers( )					.addAll( ( (ScatterSeries) series ).getMarkers( ) );			for ( Iterator itr = areaseries.getMarkers( ).iterator( ); itr.hasNext( ); )			{				Marker mk = (Marker) itr.next( );				mk.setVisible( false );			}		}		// Copy generic series properties		ChartUIUtil.copyGeneralSeriesAttributes( series, areaseries );		// Copy series specific properties		if ( series instanceof StockSeries )		{			areaseries.getLineAttributes( )					.setColor( ( (StockSeries) series ).getLineAttributes( )							.getColor( ) );		}		return areaseries;	}