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( "        else{\n" ) 
        	.append( "           oldCompId = null;\n" ) 
       	.append( "           oldCompList = null;\n" ) 
       	.append( "       	fillToColor = new Array();\n" ) 
		.append( "      strokeToColor = new Array();\n" ) 
       	.append( "        }\n" ) 
    	.append( "     }\n" ) 
    	.append( "    	function highlightElement(evt, id, compList, highlight){\n" ) 
    	.append( "		   if ((id == null) || (compList == null)) return;\n" ) 
    	.append( "	       var mainSvg = evt.target.ownerDocument;\n" ) 
    	.append( "	    for (i = 0; i < compList.length; i=i+1){\n" ) 
    	.append( "	    var comp = mainSvg.getElementById(id+'_'+compList[i]);\n" ) 
    	.append( "         if ( comp == null ) continue;\n")		
    	.append( "	    var styleStr = comp.getAttribute(\"style\");\n" ) 
    	.append( "		   fillIndex = styleStr.search(\"fill:\");\n" ) 
    	.append( "		   if (fillIndex != -1){\n" ) 
    	.append( "	              styleStr = getNewStyle(styleStr, fillIndex, \"fill:\", highlight, fillToColor, compList[i]);\n" ) 
    	.append( "		   }\n" ) 
    	.append( "		   strokeIndex = styleStr.search(\"stroke:\");\n" ) 
    	.append( "		   if (strokeIndex != -1){\n" ) 
    	.append( "	              styleStr = getNewStyle(styleStr, strokeIndex, \"stroke:\", highlight, strokeToColor, compList[i]);\n" ) 
    	.append( "		   }\n" ) 
    	.append( "	   comp.setAttributeNS(null, \"style\", styleStr);\n" ) 
    	.append( "	     }\n" ) 
    	.append( "	     }\n" ) 			    	
    	
    	.append( "    	function getNewStyle(style, index, styleAttr, highlight, lookUpTable, id){\n" ) 
    	.append( "	     color = style.substring(index+styleAttr.length, style.length );\n" )