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
protected Element createGradientPaint( SVGGradientPaint paint, boolean highlight )
	{
		Element elem = dom.createElement( "linearGradient" ); 
		if (highlight)
			elem.setAttribute( "id", paint.getId( )+"h" ); 
		else
			elem.setAttribute( "id", paint.getId( ) ); 
		elem.setAttribute( "x1", Double.toString( paint.getPoint1( ).getX( ) ) ); 
		elem.setAttribute( "y1", Double.toString( paint.getPoint1( ).getY( ) ) ); 
		elem.setAttribute( "x2", Double.toString( paint.getPoint2( ).getX( ) ) ); 
		elem.setAttribute( "y2", Double.toString( paint.getPoint2( ).getY( ) ) ); 
		elem.setAttribute( "gradientUnits", "userSpaceOnUse" ); 
		if ( paint.isCyclic( ) )
			elem.setAttribute( "spreadMethod", "repeat" ); 
		Element startColor = dom.createElement( "stop" ); 
		startColor.setAttribute( "offset", "0%" ); 
		if (highlight){
			startColor.setAttribute( "stop-color", serializeHighlightToString( paint.getColor1( ) ) ); 
			
		}
		else{
			startColor.setAttribute( "stop-color", serializeToString( paint.getColor1( ) ) ); 
		}
		String alpha = alphaToString( paint.getColor1( ) );
		if ( alpha != null )
			startColor.setAttribute( "stop-opacity", alpha ); 
		elem.appendChild( startColor );
		Element endColor = dom.createElement( "stop" ); 
		endColor.setAttribute( "offset", "100%" ); 
		if (highlight)