Bug 176582 "Show Lines as Curves" does not work correctly for Area Chart [0001]
Description: "Show Lines as Curves" does not work correctly for Area Chart. Build number: 2.2.0.v20070307-1128 Steps to reproduce: 1. New a Area Chart. 2. In "Format Chart" tab, select Series->Value (Y) Series, tick and untick "Show Lines as Curves" checkbox. Expected result: Null value point e is treated the same when tick and untick "Show Lines as Curves" checkbox. Actual result: Null value point e is treated differently (see the screenshot). 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 );
	}