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
/***********************************************************************
 * Copyright (c) 2005, 2006 IBM Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * IBM Corporation - initial API and implementation
 ***********************************************************************/
package org.eclipse.birt.chart.device.svg;
import org.eclipse.birt.chart.model.attribute.ColorDefinition;
/**
 * This class provides javascript helper functions to enable user interactions
 * such as tooltip support. Defines default styles for svg elements.
 */
public final class EventHandlers
{
	public static StringBuffer styles = new StringBuffer( ).append( ".tooltip.text{ text-anchor:left;font-size:12pt;fill:black;}.tooltip{fill:rgb(244,245,235)}" ); 
	public static StringBuffer content = new StringBuffer( ).append( "function BuildHelper(tag, attrList, text) {\n" ) 
			.append( "	this.tag = tag;\n" ) 
			.append( "	this.attrList = attrList;\n" ) 
			.append( "	this.text       = text;\n" ) 
			.append( "	this.element  = null;\n" ) 
			.append( "	this.textNode = null;\n" ) 
			.append( "	}	\n" )