ss.getMarker( ).setType( MarkerType.CIRCLE_LITERAL );
for ( int i = 0; i < ss.getMarkers( ).size( ); i++ ) { ( (Marker) ss.getMarkers( ).get( i ) ).setType( MarkerType.CIRCLE_LITERAL); }
	public static final Chart createScatterChart( )	{		ChartWithAxes cwaScatter = ChartWithAxesImpl.create( );		// Plot		cwaScatter.getBlock( ).setBackground( ColorDefinitionImpl.WHITE( ) );		cwaScatter.getPlot( ).getClientArea( ).getOutline( ).setVisible( false );		cwaScatter.getPlot( )				.getClientArea( )				.setBackground( ColorDefinitionImpl.create( 255, 255, 225 ) );		// Title		cwaScatter.getTitle( )				.getLabel( )				.getCaption( )				.setValue( "Numeric Scatter Chart" );//$NON-NLS-1$		// X-Axis		Axis xAxisPrimary = ( (ChartWithAxesImpl) cwaScatter ).getPrimaryBaseAxes( )[0];		xAxisPrimary.getTitle( ).getCaption( ).setValue( "X Axis" );//$NON-NLS-1$		xAxisPrimary.setType( AxisType.LINEAR_LITERAL );		xAxisPrimary.getLabel( )				.getCaption( )				.setColor( ColorDefinitionImpl.GREEN( ).darker( ) );		xAxisPrimary.getTitle( ).setVisible( false );		xAxisPrimary.getMajorGrid( ).setTickStyle( TickStyle.BELOW_LITERAL );		xAxisPrimary.getMajorGrid( )				.getLineAttributes( )				.setStyle( LineStyle.DOTTED_LITERAL );		xAxisPrimary.getMajorGrid( )				.getLineAttributes( )				.setColor( ColorDefinitionImpl.GREY( ) );		xAxisPrimary.getMajorGrid( ).getLineAttributes( ).setVisible( true );		xAxisPrimary.getOrigin( ).setType( IntersectionType.VALUE_LITERAL );		// Y-Axis		Axis yAxisPrimary = ( (ChartWithAxesImpl) cwaScatter ).getPrimaryOrthogonalAxis( xAxisPrimary );		yAxisPrimary.getLabel( ).getCaption( ).setValue( "Price Axis" );//$NON-NLS-1$		yAxisPrimary.getLabel( )				.getCaption( )				.setColor( ColorDefinitionImpl.BLUE( ) );		yAxisPrimary.getTitle( ).setVisible( true );		yAxisPrimary.setType( AxisType.LINEAR_LITERAL );		yAxisPrimary.getMajorGrid( ).setTickStyle( TickStyle.LEFT_LITERAL );		yAxisPrimary.getMajorGrid( )				.getLineAttributes( )				.setStyle( LineStyle.DOTTED_LITERAL );		yAxisPrimary.getMajorGrid( )				.getLineAttributes( )				.setColor( ColorDefinitionImpl.GREY( ) );		yAxisPrimary.getMajorGrid( ).getLineAttributes( ).setVisible( true );		yAxisPrimary.getOrigin( ).setType( IntersectionType.VALUE_LITERAL );		// Data Set		NumberDataSet dsNumericValues1 = NumberDataSetImpl.create( new double[]{				-46.55, 25.32, 84.46, 125.95, 38.65, -54.32, 30		} );		NumberDataSet dsNumericValues2 = NumberDataSetImpl.create( new double[]{				125.99, 352.95, -201.95, 299.95, -95.95, 65.95, 58.95		} );		// X-Series		Series seBase = SeriesImpl.create( );		seBase.setDataSet( dsNumericValues1 );		SeriesDefinition sdX = SeriesDefinitionImpl.create( );		xAxisPrimary.getSeriesDefinitions( ).add( sdX );		sdX.getSeries( ).add( seBase );		// Y-Series		ScatterSeries ss = (ScatterSeries) ScatterSeriesImpl.create( );		ss.setSeriesIdentifier( "Unit Price" );//$NON-NLS-1$		ss.getMarker( ).setType( MarkerType.CIRCLE_LITERAL );		DataPoint dp = ss.getDataPoint( );		dp.getComponents( ).clear( );		dp.setPrefix( "(" );//$NON-NLS-1$		dp.setSuffix( ")" );//$NON-NLS-1$		dp.getComponents( )				.add( DataPointComponentImpl.create( DataPointComponentType.BASE_VALUE_LITERAL,						JavaNumberFormatSpecifierImpl.create( "0.00" ) ) );//$NON-NLS-1$		dp.getComponents( )				.add( DataPointComponentImpl.create( DataPointComponentType.ORTHOGONAL_VALUE_LITERAL,						JavaNumberFormatSpecifierImpl.create( "0.00" ) ) );//$NON-NLS-1$		ss.getLabel( ).getCaption( ).setColor( ColorDefinitionImpl.RED( ) );		ss.getLabel( ).setBackground( ColorDefinitionImpl.CYAN( ) );		ss.getLabel( ).setVisible( true );		ss.setDataSet( dsNumericValues2 );		SeriesDefinition sdY = SeriesDefinitionImpl.create( );		yAxisPrimary.getSeriesDefinitions( ).add( sdY );		sdY.getSeriesPalette( ).update( ColorDefinitionImpl.BLACK( ) );		sdY.getSeries( ).add( ss );		return cwaScatter;	}