Bug 128928 [Build2.0.1][Eclipse 3.0]: Interactivity-ToggleVisibility work incorrectly.
[Build2.0.1][Eclipse 3.0][Firefox 1.5]: Interactivity-ToggleVisibility work incorrectly. Steps: 1.Create a bar chart 2.Open chart builder, go to "Format Chart" tab, select chart area, select "Series Toggle visibility" 3.Preview in web viewer Actual Results: 1.Click the legend, the series is unvisible, then click again, the series is still unvisible Expected Results: 1.ToggelVisibility can work correctly.
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/EventHandlers.java
.append( "	        function toggleLabelsVisibility(evt, id, compList, labelList){\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( "         var styleStr = comp.getAttribute(\"style\");\n" ) 
			.append( "        rVisibleExp=/visibility:visible/g;\n" ) 
			.append( "        rInheritExp=/visibility:inherit/g;\n" ) 
			.append( "        rHiddenExp=/visibility:hidden/g;\n" ) 
			.append( "        results = styleStr.search(rVisibleExp);\n" ) 
			.append( "        inResults = styleStr.search(rInheritExp);\n" ) 
			.append( "        if ((results == -1) && (inResults == -1)){\n" ) 
 			.append( "           results = styleStr.search(rHiddenExp);\n" ) 
			.append( "            if (results == -1)\n" ) 
			.append( "                styleStr = styleStr + \"visibility:hidden;\";\n" ) 
    			.append( "            else\n" ) 
			.append( "                styleStr = styleStr.replace(rHiddenExp,\"visibility:visible\");\n" ) 
    			.append( "         }\n" ) 
			.append( "         else{\n" ) 
			.append( "         if (inResults == -1){\n" ) 
 			.append( "                styleStr = styleStr.replace(rVisibleExp,\"visibility:hidden\");\n" ) 
			.append( "         }else{\n" ) 
 			.append( "                styleStr = styleStr.replace(rInheritExp,\"visibility:hidden\");\n" ) 
    			.append( "         }\n" ) 
    			.append( "         }\n" ) 
			.append( "         comp.setAttributeNS(null, \"style\", styleStr);\n" ) 
			.append( "     }\n" ) 
			.append( "	}\n" ) 
			.append( "	        function toggleVisibility(evt, id, compList, labelList){\n" ) 
		.append( "       var mainSvg = evt.target.ownerDocument;\n" ) 
		.append( "       var isHidden = true;\n" )