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/SVGInteractiveRenderer.java
+ Math.abs( script.hashCode( ) )
										+ "(evt," + src.getSource( ).hashCode( ); 
								if ( StructureType.SERIES_DATA_POINT.equals( src.getType( ) ) )
								{
									final DataPointHints dph = (DataPointHints) src.getSource( );
									callbackFunction += ","; 
									callbackFunction = ScriptUtil.script( callbackFunction,
											dph );
								}
								callbackFunction += ");"; 
								elm.setAttribute( scriptEvent, callbackFunction );
								setCursor( elm );
								if ( !( scripts.contains( script ) ) )
								{
									svg_g2d.addScript( "function callback" + Math.abs( script.hashCode( ) ) + "(evt,source,categoryData,valueData,valueSeriesName)" + "{" + script + "}" ); 
									scripts.add( script );
								}
							}
							break;
					}
				}
			}
		}
	}
	/**
	 * Locates a design-time series corresponding to a given cloned run-time
	 * series.
	 * 
	 * @param seRT
	 * @return