sePie.setExplosion( 30 );
sePie.setExplosion( 10 );
	public static final Chart createMinSlice( )	{		ChartWithoutAxes cwoaPie = ChartWithoutAxesImpl.create( );		cwoaPie.getBlock( ).setBackground( ColorDefinitionImpl.PINK( ) );		// Plot		cwoaPie.getPlot( )				.getClientArea( )				.setBackground( ColorDefinitionImpl.PINK( ) );		// Legend		Legend lg = cwoaPie.getLegend( );		lg.setItemType( LegendItemType.CATEGORIES_LITERAL );		lg.getClientArea( ).getOutline( ).setVisible( true );		lg.getTitle( ).setVisible( false );		// Title		cwoaPie.getTitle( )				.getLabel( )				.getCaption( )				.setValue( "Min Slice Pie Chart" ); //$NON-NLS-1$		cwoaPie.getTitle( ).getOutline( ).setVisible( false );		// Data Set		TextDataSet categoryValues = TextDataSetImpl.create( new String[]{				"New York", "Boston", "Chicago", "San Francisco", "Dallas", "Miami"//$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$//$NON-NLS-6$		} );		NumberDataSet seriesOneValues = NumberDataSetImpl.create( new double[]{				24, 9, 30, 36, 8, 51		} );		// Base Series		SeriesDefinition sd = SeriesDefinitionImpl.create( );		cwoaPie.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 );		// Orthogonal Series		SeriesDefinition sdCity = SeriesDefinitionImpl.create( );		sd.getSeriesDefinitions( ).add( sdCity );		PieSeries sePie = (PieSeries) PieSeriesImpl.create( );		sePie.setDataSet( seriesOneValues );		sePie.setLabelPosition( Position.INSIDE_LITERAL );		// Explosion		sePie.setExplosion( 30 );		sePie.setExplosionExpression( "valueData<20 ||valueData>50" );//$NON-NLS-1$		sdCity.getSeries( ).add( sePie );		// Min Slice		cwoaPie.setMinSlice( 10 );		cwoaPie.setMinSlicePercent( false );		cwoaPie.setMinSliceLabel( "Others" );//$NON-NLS-1$		return cwoaPie;	}