Bug 183895 Legend Text Area Font properties do not take effect [0001]
Description: Legend Text Area Font properties do not take effect. Build number: 2.2.0.v20070424-0630 Steps to reproduce: 1. New a Chart. 2. In "Format Chart" tab, tick "Show Values", click "Block" button, Edit Font, set Font: Arial, Size:16, Color: Yellow, Style:Bold&Italic, Rotation: 45 degree. Expected result: Font properties take effect. Actual result: Font properties does not take effect. Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/BaseRenderer.java
}
	}
	/**
	 * Renders label.
	 * 
	 * @param ipr
	 * @param b
	 * 
	 * @throws ChartException
	 */
	public void renderLabel( IPrimitiveRenderer ipr, Block b, Object oSource )
			throws ChartException
	{
		if ( !b.isVisible( ) )
		{
			return;
		}
		renderBlock( ipr, b, oSource );
		final double dScale = getDeviceScale( );
		final LabelBlock lb = (LabelBlock) b;
		final TextRenderEvent tre = (TextRenderEvent) ( (EventObjectCache) ipr ).getEventObject( oSource,
				TextRenderEvent.class );
		
		final String sRestoreValue = tre.updateFrom( lb, dScale, rtc );
		if ( lb.getLabel( ).isVisible( ) )
		{
			ipr.drawText( tre );
		}
		lb.getLabel( ).getCaption( ).setValue( sRestoreValue );
	}