title: jQuery flot mouseleave does not work for me
body: <p>I've modify my <strong>jQuery.flot.js</strong> and <strong>flot.pie.js</strong> a bit, to make a mouseleave effect on my pie canvas.</p>
  
  <p><strong>at line 585 flot.pie.js</strong></p>
  
  <pre><code>function onMouseMove(e) {
      triggerClickHoverEvent('plothover', e);
  }
  
  function onMouseLeave(e) {
      triggerClickHoverEvent('plotleave', e);
  }
  
  function onClick(e) {
      triggerClickHoverEvent('plotclick', e);
  }
  </code></pre>
  
  <p><strong>at line 127 flot.pie.js</strong></p>
  
  <pre><code>if (options.series.pie.show &amp;&amp; options.grid.hoverable) {
      eventHolder.unbind('mousemove').mousemove(onMouseMove);
      eventHolder.unbind('mouseleave').mouseleave(onMouseLeave);
  }
  </code></pre>
  
  <p>in my javascript <strong>mysite.html</strong></p>
  
  <pre><code>$("#graph1").bind("plothover", pieHover);
  $("#graph1").bind("plotleave", pieLeave);
  $("#graph1").bind("plotclick", pieClick);
  </code></pre>
  
  <p>the functions <strong>mysite.html</strong></p>
  
  <pre><code>function pieHover(event, pos, obj) {
      if (!obj) return;
      var what = obj.series.name;
      $("a[name=" + what + "]").addClass("hover");
      $("#world #" + what + " path", svg.root()).attr("fill", "url(#orange)");
      $("#world #" + what + " path.water", svg.root()).attr("fill", "#92D7E7");
  }
  
  function pieLeave(event, pos, obj) {
      if (!obj) return;
      var what = obj.series.name;
      $("a[name=" + what + "]").removeClass("hover");
      $("#world #" + what + " path", svg.root()).attr("fill", "#68CDF2");
      $("#world #" + what + " path.water", svg.root()).attr("fill", "#B9E4EE");
  }
  
  function pieClick(event, pos, obj) {
      if (!obj) return;
      percent = parseFloat(obj.series.percent).toFixed(2);
      alert('' + obj.series.label + ': ' + percent + '%');
  }
  </code></pre>
  
  <p>My pieLeave function is totally ignored. What is the problem? Thanks for the help.<br>
  More information: <a href="http://people.iola.dk/olau/flot/examples/pie.html" rel="nofollow">flot example</a></p>