dChart.getPlot( ).getClientArea( ).setBackground( ColorDefinitionImpl.CREAM( ) );  dChart.getTitle( ).getLabel( ).getCaption( ).setValue( "Single Dial Single Region Meter Chart" );
dChart.getPlot( ) .getClientArea( ) .setBackground( ColorDefinitionImpl.create( 255, 255, 225 ) );  dChart.getTitle( ) .getLabel( ) .getCaption( ) .setValue( "Single Dial Single Region Meter Chart" );
	public static final Chart createSDialSRegionMeter( )	{		DialChart dChart = (DialChart) DialChartImpl.create( );		dChart.setDialSuperimposition( false );		dChart.setGridColumnCount( 2 );		dChart.setSeriesThickness( 25 );		// Title/Plot		dChart.getBlock( ).setBackground( ColorDefinitionImpl.WHITE( ) );		dChart.getPlot( ).getClientArea( ).setBackground( ColorDefinitionImpl.CREAM( ) );				dChart.getTitle( ).getLabel( ).getCaption( ).setValue( "Single Dial Single Region Meter Chart" );//$NON-NLS-1$		dChart.getTitle( ).getOutline( ).setVisible( false );		// Legend		Legend lg = dChart.getLegend( );		LineAttributes lia = lg.getOutline( );		lg.getText( ).getFont( ).setSize( 16 );		lia.setStyle( LineStyle.SOLID_LITERAL );		lg.getInsets( ).setLeft( 10 );		lg.getInsets( ).setRight( 10 );		lg.getOutline( ).setVisible( false );		lg.setShowValue( true );		lg.getClientArea( ).setBackground( ColorDefinitionImpl.PINK( ) );		lg.getClientArea( ).getOutline( ).setVisible( true );		lg.getTitle( ).getCaption( ).getFont( ).setSize( 20 );		lg.getTitle( ).setInsets( InsetsImpl.create( 10, 10, 10, 10 ) );		lg.setTitlePosition( Position.ABOVE_LITERAL );		// Data Set		TextDataSet categoryValues = TextDataSetImpl.create( new String[]{			"Speed"} );//$NON-NLS-1$		SeriesDefinition sd = SeriesDefinitionImpl.create( );		dChart.getSeriesDefinitions( ).add( sd );		Series seCategory = (Series) SeriesImpl.create( );		final Fill[] fiaBase = {				ColorDefinitionImpl.ORANGE( ),				GradientImpl.create( ColorDefinitionImpl.create( 225, 225, 255 ),						ColorDefinitionImpl.create( 255, 255, 225 ),						-35,						false ),				ColorDefinitionImpl.CREAM( ),				ColorDefinitionImpl.RED( ),				ColorDefinitionImpl.GREEN( ),				ColorDefinitionImpl.BLUE( ).brighter( ),				ColorDefinitionImpl.CYAN( ).darker( ),		};		sd.getSeriesPalette( ).getEntries( ).clear( );		for ( int i = 0; i < fiaBase.length; i++ )		{			sd.getSeriesPalette( ).getEntries( ).add( fiaBase[i] );		}		seCategory.setDataSet( categoryValues );		sd.getSeries( ).add( seCategory );		SeriesDefinition sdCity = SeriesDefinitionImpl.create( );		// Dial		DialSeries seDial = (DialSeries) DialSeriesImpl.create( );		seDial.setDataSet( NumberDataSetImpl.create( new double[]{			60		} ) );		seDial.getDial( )				.setFill( GradientImpl.create( ColorDefinitionImpl.create( 225,						225,						255 ),						ColorDefinitionImpl.create( 255, 255, 225 ),						-35,						false ) );		seDial.getNeedle( ).setDecorator( LineDecorator.ARROW_LITERAL );		seDial.getDial( )				.getMinorGrid( )				.getTickAttributes( )				.setVisible( true );		seDial.getDial( )				.getMinorGrid( )				.getTickAttributes( )				.setColor( ColorDefinitionImpl.RED( ) );		seDial.getDial( )				.getMinorGrid( )				.setTickStyle( TickStyle.BELOW_LITERAL );		seDial.getDial( )				.getScale( )				.setMin( NumberDataElementImpl.create( 0 ) );		seDial.getDial( )				.getScale( )				.setMax( NumberDataElementImpl.create( 180 ) );		seDial.getDial( ).getScale( ).setStep( 30 );		seDial.getLabel( )				.setOutline( LineAttributesImpl.create( ColorDefinitionImpl.GREY( )						.darker( ),						LineStyle.SOLID_LITERAL,						1 ) );		seDial.getLabel( ).setBackground( ColorDefinitionImpl.GREY( )				.brighter( ) );		DialRegion dregion21 = DialRegionImpl.create( );		dregion21.setFill( ColorDefinitionImpl.GREEN( ) );		dregion21.setStartValue( NumberDataElementImpl.create( 0 ) );		dregion21.setEndValue( NumberDataElementImpl.create( 80 ) );		seDial.getDial( ).getDialRegions( ).add( dregion21 );		sd.getSeriesDefinitions( ).add( sdCity );		sdCity.getSeries( ).add( seDial );		return dChart;	}