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
return elem;
	}
	public void drawTooltip( String tooltip )
	{
		Element title = dom.createElement( "title" ); 
		title.appendChild( dom.createTextNode( tooltip ) );
		appendChild( title );
		currentParent.setAttribute( "onmouseout", "TM.remove()" ); 
		currentParent.setAttribute( "onmouseover", "TM.show(evt)" ); 
	}
	/**
	 * @return Returns the currentParent.
	 */
	public Element getCurrentParent( )
	{
		return currentParent;
	}
	public String getStyleClass() {
		return styleClass;
	}
	public void setStyleClass(String styleClass) {
		this.styleClass = styleClass;
	}
	
	public void addCSSStyle(String className, String styleName, String styleValue){
		styleBuffer.append(className).append("{").append(styleName).append(":").append(styleValue).append(";}");				 
	}
	
	/**
	 * Inlines the script code in the generated svg output