Bug 182519 [SVG] SVG Chart Title Alignment does not work correctly when preview [0001]
Description: SVG Chart Title Alignment does not work correctly when preview. Build number: 2.2.0.v20070416-1013 Steps to reproduce: 1. New a Bar Chart, Output Format is SVG. 2. In "Format Chart" tab, select "Title" node, set Chart Title as "Bar Chart Title Bar Chart Title Bar Chart Title" and set Title Alignment as TopLeft. Expected result: Chart Title when preview is: "Bar Chart Title Bar Chart Title Bar Chart Title" Actual result: Chart Title when preview is: "Bar Chart Title Bar Chart Title Bar Chart Title". Error log: N/A
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGGraphics2D.java
elem.setAttribute("id", primitiveId);
		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;
	}
	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;
	}
	/**
	 * @return Returns the currentElement.
	 */
	public Element getCurrentElement( )
	{
		return currentElement;