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
case ActionType.URL_REDIRECT :
							URLValue urlValue = ( (URLValue) tg.getAction( )
									.getValue( ) );
							
							if ( urlValue.getBaseUrl( ).startsWith( "#" ) ) { 
								elm.setAttribute( scriptEvent,
										"top.document.location.hash='" + urlValue.getBaseUrl( ) + "';" );  
								elm.setAttribute( "style", "cursor:pointer" ); 
							}
							
							else if ( urlValue.getBaseUrl( ).startsWith( "javascript:" ) ) 
							{
								elm.setAttribute( scriptEvent, urlValue.getBaseUrl( ) );  
								elm.setAttribute( "style", "cursor:pointer" ); 
							}
							else
							{
								String target = urlValue.getTarget( );
								if ( target == null )
									target = "null"; 
								elm.setAttribute( scriptEvent,
										"redirect('" + target + "','" + urlValue.getBaseUrl( ) + "')" ); 
							}
							break;
						case ActionType.TOGGLE_VISIBILITY :
						case ActionType.TOGGLE_DATA_POINT_VISIBILITY :
						case ActionType.HIGHLIGHT :
							addJSCodeOnElement( src,
									tg,
									elm,