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( "       xScale = (innerWidth) / root.getAttribute('initialWidth');\n" )
		.append( "       yScale = (innerHeight) / root.getAttribute('initialHeight');\n" )
		.append( "       root.setAttribute('width', xScale*root.getAttribute('initialWidth'));\n" )
		.append( "       root.setAttribute('height', yScale*root.getAttribute('initialHeight'));\n" )
		.append( "       g.setAttributeNS(null, 'transform', 'scale('+xScale+','+yScale+')');\n" )
		.append( "       hotSpot.setAttributeNS(null, 'transform', 'scale('+xScale+','+yScale+')');\n" )
		.append( "    }catch(e){}\n" )
		.append( "  }\n" )		
		.append( "        function getHighlight(color, highlight, lookupTable, id){\n" )
    	.append( "        if (!(highlight)){\n" )
    	.append( "            color = lookupTable[id];\n" )
    	.append( "        }\n" )
    	.append( "        else{\n" )
    	.append( "            lookupTable[id] = color;\n" )
    	.append( "        }\n" )
    	.append( "        r = color.substring(0, 2);\n" )
    	.append( "        r = parseInt(r, 16);\n" )
    	.append( "        g = color.substring(2, 4);\n" )
    	.append( "        g = parseInt(g, 16);\n" )
    	.append( "        b = color.substring(4, 6);\n" )
    	.append( "        b = parseInt(b, 16);\n" )
    	.append( "    var value = parseInt(r, 16);\n" )
    	.append( "        if (highlight){\n" )
    	.append( "           r = Math.ceil( (r + 255) / 2 );\n" )
    	.append( "           g = Math.ceil( (g + 255) / 2 );\n" )
    	.append( "           b = Math.ceil( (b + 255) / 2 );\n" )
    	.append( "        }\n" )
    	.append( "        rStr = r.toString(16);\n" )		
    	.append( "        gStr = g.toString(16);\n" )
    	.append( "    bStr = b.toString(16);\n" )