Bug 128582 Set jpg image to chart background, preview in html, background image is displayed incorrectly.
Set jpg image to chart background, preview in html, background image is displayed incorrectly. Steps: 1.Create a bar chart 2.Set image to chart background 3.Preview in html Actual Results: 1.See the attachment Expected Results: 1.The background image can be previewed correctly.
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGGraphics2D.java
elem.appendChild( endColor );
		return elem;
	}
	protected Element createLine( double arg0, double arg1, double arg2,
			double arg3 )
	{
		Element elem = createElement( "line" ); 
		elem.setAttribute( "x1", Double.toString( arg0 ) ); 
		elem.setAttribute( "y1", Double.toString( arg1 ) ); 
		elem.setAttribute( "x2", Double.toString( arg2 ) ); 
		elem.setAttribute( "y2", Double.toString( arg3 ) ); 
		return elem;
	}
	protected Element createShape( Shape shape )
	{
		PathIterator pathIter = shape.getPathIterator( null );
		String pathStr = ""; 
		while ( !pathIter.isDone( ) )
		{
			double[] points = new double[6];
			int TYPE = pathIter.currentSegment( points );
			switch ( TYPE )
			{
				case PathIterator.SEG_CLOSE :
					pathStr += " Z"; 
					break;
				case PathIterator.SEG_LINETO :
					pathStr += " L" + points[0] + " " + points[1]; 
					break;
				case PathIterator.SEG_QUADTO :