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( "	            if (inResults == -1)\n" ) 
		.append( "	               styleStr = styleStr.replace(rVisibleExp,\"visibility:\"+property);\n" ) 		
		.append( "        else\n" ) 
		.append( "            styleStr = styleStr.replace(rInheritExp,\"visibility:\"+property);\n" ) 
		.append( "     }\n" ) 
		.append( "     comp.setAttributeNS(null, \"style\", styleStr);\n" ) 
		.append( "     }			\n" ) 
		.append( "   		function toHex(val)\n" ) 
	.append( "	{\n" ) 
	.append( "	    strVal = Number(val).toString(16);\n" ) 
	.append( "	    while (strVal.length < 6){\n" ) 
	.append( "	        strVal = \"0\"+strVal;\n" ) 
	.append( "	    }\n" ) 
	.append( "	    return strVal;\n" ) 
	.append( "	}\n" ) 
	.append( "	function getXorColor(color){\n" ) 
	.append( "	    var value = parseInt(color, 16);\n" ) 
	.append( "	    value = 0xFFFFFF ^ value;\n" ) 
	.append( "	    return \"#\"+toHex(value);\n" ) 
	.append( "	}		\n" ) 
	.append( "	var oldCompId = null;\n" ) 
	.append( "	var oldCompList = null;\n" ) 
    .append( "    var fillToColor = new Array(); \n" ) 
    .append( "    var strokeToColor = new Array();	\n" ) 
 	.append( "   function highlight(evt, id, compList){\n" ) 
		.append( "       highlightElement(evt, oldCompId, oldCompList, false);\n" ) 
    	.append( "       if (id != oldCompId){\n" ) 
        	.append( "           highlightElement(evt, id, compList, true);\n" ) 
       	.append( "           oldCompId = id;\n" ) 
       	.append( "          oldCompList = compList;\n" )