Bug 187639 Tooltips for invisible series in svg chart still there
I have a chart with tooltips (onMouseOver) on the data points of a series When I toggle the visibility for the series, the series vanishes But when I hover over the invisible data point, the tooltip appears. Steps to reproduce: -Create a report with SVG chart with a value series. -For interactivity set: -"Show tooltip" in the "OnMouseOver" event of the series -"Toggle visibility" in "OnClick" of the legend -Run the report, keep position of a data point of a series in mind and -toggle that series to invisible. -Hover mouse over remembered data point position --> the tooltip appears
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/EventHandlers.java
.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" ) 
			.append( "		\n" ) 
			.append( "	BuildHelper.prototype.addToParent= function(parent) {	\n" ) 
			.append( "	if (!parent) return;	\n" ) 
			.append( "	var svgDocument = parent.ownerDocument;\n" ) 
			.append( "	this.element = svgDocument.createElementNS(\"http://www.w3.org/2000/svg\",this.tag);\n" ) 
			.append( "		\n" ) 
			.append( "	for (var attribute in this.attrList){\n" ) 
			.append( "	if (attribute == 'classType')	\n" ) 
			.append( "		     this.element.setAttributeNS(null, 'class', this.attrList[attribute]);\n" ) 
			.append( "	else	\n" ) 
			.append( "		     this.element.setAttributeNS(null, attribute, this.attrList[attribute]);\n" ) 
			.append( "	}	\n" ) 
			.append( "		\n" ) 
			.append( "	if (this.text) {\n" ) 
			.append( "		this.textNode = svgDocument.createTextNode(this.text);\n" ) 
			.append( "		this.element.appendChild(this.textNode);\n" ) 
			.append( "	}\n" ) 
			.append( "		\n" ) 
			.append( "	parent.appendChild(this.element);\n" ) 
			.append( "	};	\n" ) 
			.append( "		\n" ) 
			.append( "BuildHelper.prototype.insertBefore = function(parent, before) {\n" ) 
			.append( "	if (typeof parent == 'undefined') return;	\n" ) 
			.append( "	var svgDocument = parent.ownerDocument;\n" )