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
case VerticalAlignment.BOTTOM :
				bb.setTop( boBlock.getTop( )
						+ boBlock.getHeight( )
						- bb.getHeight( ) );
				break;
		}
		bb.setLeft( bb.getLeft( ) + bb.getHotPoint( ) );
		if ( ChartUtil.isShadowDefined( la ) )
		{
			showTopValue( idr, LocationImpl.create( bb.getLeft( ), bb.getTop( )
					+ bb.getHeight( ) ), la, true );
		}
		showTopValue( idr, LocationImpl.create( bb.getLeft( ), bb.getTop( )
				+ bb.getHeight( ) ), la, false );
	}
	/**
	 * 
	 * @param g2d
	 * @param dX
	 * @param dY
	 * @param sText
	 * @param dAngleInDegrees
	 */
	private final void showLeftValue( 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( );