txtChartTitle.getFont( ).setSize( 24 );
txtChartTitle.getFont( ).setSize( 16 ); txtChartTitle.getFont( ).setBold( true );
	protected void initialize( )	{		// 1. CREATE AND INITIALIZE BLOCKS		block = BlockImpl.create( ); // OUTERMOST BLOCK		block.setBackground( ColorDefinitionImpl.WHITE( ) );		TitleBlock tb = (TitleBlock) TitleBlockImpl.create( ); // TITLE		Plot pl = (Plot) PlotImpl.create( ); // PLOT		Legend lg = (Legend) LegendImpl.create( ); // LEGEND		// 2. ADD THEM TO THE LAYOUT		block.add( tb );		block.add( pl );		block.add( lg );		// 3. INITIALIZE THE CHART TITLE		Text txtChartTitle = tb.getLabel( ).getCaption( );		txtChartTitle.setValue( "Chart Title" ); //$NON-NLS-1$		txtChartTitle.getFont( ).setSize( 24 );		TextAlignment taTitle = TextAlignmentImpl.create( );		taTitle.setHorizontalAlignment( HorizontalAlignment.CENTER_LITERAL );		taTitle.setVerticalAlignment( VerticalAlignment.CENTER_LITERAL );		txtChartTitle.getFont( ).setAlignment( taTitle );		// 4. SETUP OTHER BASIC PROPERTIES		setDimension( ChartDimension.TWO_DIMENSIONAL_LITERAL );		setSeriesThickness( 10 );		// 5. SETUP INTERACTIVITY		setInteractivity( InteractivityImpl.create( ) );	}