Browse Source

Reset mouseover when cursor leaves grid

pull/2151/head
nbdavies 8 years ago
parent
commit
aca169762d
  1. 4
      src/interaction.js

4
src/interaction.js

@ -247,6 +247,10 @@ c3_chart_internal_fn.generateEventRectsForMultipleXs = function (eventRectEnter)
.on('mouseout', function () {
if (!$$.config) { return; } // chart is destroyed
if ($$.hasArcType()) { return; }
if ($$.mouseover){
config.data_onmouseout.call($$.api, $$.mouseover);
$$.mouseover = undefined;
}
mouseout();
})
.on('mousemove', function () {

Loading…
Cancel
Save