Bug 169829 text-anchor style in svg chart is not right.
In svg, text-anchor style support start, middle and end values. But in the attached svg chart, there is a wrong value like left. So when use batik to tranfer the svg to be a image, the batik throw a NPE.
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/EventHandlers.java
.append( "	    }\n" ) 
			.append( "	    if (update)\n" ) 
			.append( "	       TM.remove();			\n" ) 
			.append( "		if (typeof this.group == 'undefined'){	\n" ) 
			.append( "	           this.oldX = x;\n" ) 
			.append( "	           this.oldY = y;		\n" ) 
			.append( "	   	   this.height = 15;	\n" ) 
			.append( "	 	   this.xPadding = 5;	\n" ) 
			.append( "		   this.yPadding = 20;\n" ) 
			.append( "		   var mainSvg = evt.target.ownerDocument.documentElement;\n" ) 
			.append( "		   var off = mainSvg.currentTranslate;\n" ) 
			.append( "		   var scl = mainSvg.currentScale;\n" ) 
			.append( "	           var adjustedX = (x-off.x)/scl;\n" ) 
			.append( "	           var adjustedY = (y-off.y)/scl;\n" ) 
			.append( "		   this.group = new BuildHelper(\"g\",\n" ) 
			.append( "		     {\n" ) 
			.append( "	             opacity:0.8,\n" ) 
			.append( "	  	     display: \"inline\",\n" ) 
			.append( "		     transform:\"translate(\"+(adjustedX + (10/scl))+\",\"+(adjustedY + (10/scl))+\")\"\n" ) 
			.append( "		 } );\n" ) 
			.append( "		   this.group.addToParent(mainSvg);\n" ) 
			.append( "		   this.rectangle = new BuildHelper(\"rect\",\n" ) 
			.append( "		     {id:\"test\",\n" ) 
			.append( "		      x: 0,\n" ) 
			.append( "		      y: 5,\n" ) 
			.append( "		      transform:\"scale(\"+(1/scl)+\",\"+(1/scl)+\")\",\n" ) 
			.append( "	              rx: 2,\n" ) 
			.append( "	              ry: 2,\n" ) 
			.append( "	              stroke: \"black\",\n" ) 
			.append( "		      height: this.height,\n" )