Bug 173612 [Regression] Chart Title background color and shadow color is not shown when preview [0001]
Description: Chart Title background color and shadow color is not shown when preview. Build number: 2.2.0.v20070209-0630 Steps to reproduce: 1. Open the attached design file, double click the chart to open the chart builder. 2. Preview the attached design file. Expected result: Chart Title background color and shadow color is not shown when preview as in chart builder. Actual result: Chart Title background color and shadow color is only shown in chart builder. Error log: N/A
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGTextRenderer.java
*/
	private final void showRightValue( IPrimitiveRenderer ipr, Location lo,
			Label la, boolean bShadow )
	{
		SVGGraphics2D g2d = (SVGGraphics2D) ( (IDeviceRenderer) ipr ).getGraphicsContext( );
		double dX = lo.getX( ), dY = lo.getY( );
		FontDefinition fd = la.getCaption( ).getFont( );
		double dAngleInDegrees = fd.getRotation( );
		if ( bShadow ) 
		
		{
			bShadow = la.getShadowColor( ) != null;
		}
		Color clrText = (Color) _sxs.getColor( la.getCaption( ).getColor( ) );
		Color clrBackground = null;
		if ( la.getBackground( ) != null )
		{
			clrBackground = (Color) _sxs.getColor( (ColorDefinition) la.getBackground( ) );
		}
		
		dY += 1;
		final ITextMetrics itm = new SVGTextMetrics( _sxs, la );
		final double dFW = itm.getFullWidth( );
		final double dH = itm.getHeight( );
		final double dD = itm.getDescent( );
		final double dFH = itm.getFullHeight( );
		double dXOffset = 0, dW = 0;
		final int iLC = itm.getLineCount( );
		final Insets ins = la.getInsets( )
				.scaledInstance( _sxs.getDpiResolution( ) / 72d );