I'm displaying multiple charts on the screen, in a .NET MVC application, using Highcharts 3.0.1. Problem that I have is that the tool tips are not destroyed when moving from one chart to another one (or when I'm not hovering over the area with the chart data). So I ended up in having 3 tooltips displayed over the three charts that I'm displaying on the screen, even if my cursor is on another area of the screen. And also related to this, there is a java script error occurring when I exit the chart area, that says:
Unhandled exception at line 6090, column 2 in http://localhost:50204/Scripts/jquery-2.0.1.js
0x800a138f - Microsoft JScript runtime error: Invalid operand to 'in': Object expected
verified in IE 8, 9 and Mozilla Firefox as well. This is the code that is on the js file, at that line:
// return a css property mapped to a potentially vendor prefixed property
function vendorPropName( style, name ) {
// shortcut for names that are not vendor prefixed if ( name in style ) { return name; }
It seems that tries to use the IN operand on a string - style parameter contains the following, when the error occurs:
cursor:default;padding:0;white-space:nowrap;
Error does not appear when I turn off the tooltip, so that's why I presumed is related to the tooltip.
I did also a regression test, and moved back on Highcharts version 2.2.1. On this version, the tooltips are behaving normally, tooltip is destroyed once we are exiting the chart data area. But unfortunately I can't use this version because of other functionality that involves 3.0.1