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
String style = getRenderingStyle(RenderingHints.KEY_TEXT_ANTIALIASING);
		if ( color != null ){
			String alpha = alphaToString( color );
			if ( alpha != null )
				style += "fill-opacity:" + alpha + ";"; 
			style += "fill:" + serializeToString( color ) + ";"; 
		}
		elem.setAttribute("style", style);
		if ( transforms.getType( ) != AffineTransform.TYPE_IDENTITY )
		{
			double[] matrix = new double[6];
			transforms.getMatrix( matrix );
			elem.setAttribute( "transform", "matrix(" + matrix[0] + "," + matrix[1] + "," + matrix[2] + "," + matrix[3] + "," + matrix[4] + "," + matrix[5] + ")" ); 
		}
		
		return elem;
	}
	
	protected String getRenderingStyle(Object key){
		Object value = renderingHints.get(key);
		if (key.equals(RenderingHints.KEY_TEXT_ANTIALIASING)){
			if (value.equals(RenderingHints.VALUE_TEXT_ANTIALIAS_OFF))
			{
				
				
				if ( transforms.getType( ) != AffineTransform.TYPE_IDENTITY )
					return "text-rendering:optimizeSpeed;"; 
				else
					return "text-rendering:optimizeLegibility;"; 
			}