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/SVGGraphics2D.java
style += "fill-opacity:" + alpha + ";"; 
			element.setAttribute( "style", style + "fill:" + serializeToString( color ) + ";stroke:none;" ); 
		}
		else
		{
			if ( paint instanceof SVGGradientPaint )
				element.setAttribute( "style", style + "fill:url(#" + ( (SVGGradientPaint) paint ).getId( ) + ");stroke:none;" ); 
		}
		if (styleClass != null)
			element.setAttribute("class", styleClass); 
		if (id != null)
			element.setAttribute("id", id); 
		if (( clip != null ) && (!deferClipped))
			element.setAttribute( "clip-path", "url(#clip" + clip.hashCode( ) + ")" ); 
		
	}
	/**
	 * @returns the color definition in a string with the format: #RRGGBBAA:
	 *          RRGGBB are the color components in hexa in the range 00..FF AA
	 *          is the tranparency value in hexa in the range 00..FF ex: Solid
	 *          light gray : #777777
	 */
	protected String serializeToString( Color color )
	{
		String r = Integer.toHexString( color.getRed( ) );
		if ( color.getRed( ) <= 0xF )
			r = "0" + r; 
		String g = Integer.toHexString( color.getGreen( ) );
		if ( color.getGreen( ) <= 0xF )
			g = "0" + g;