|
|
@ -133,7 +133,7 @@ c3_chart_internal_fn.generateEventRectsForSingleX = function (eventRectEnter) { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.on('mouseout', function (d) { |
|
|
|
.on('mouseout', function (d) { |
|
|
|
var index = d.index; |
|
|
|
var index = d.index; |
|
|
|
if (!$$.config) { return; } // chart is destroyed
|
|
|
|
if ($$.config.destroyed) { return; } // chart is destroyed
|
|
|
|
if ($$.hasArcType()) { return; } |
|
|
|
if ($$.hasArcType()) { return; } |
|
|
|
$$.hideXGridFocus(); |
|
|
|
$$.hideXGridFocus(); |
|
|
|
$$.hideTooltip(); |
|
|
|
$$.hideTooltip(); |
|
|
@ -245,7 +245,7 @@ c3_chart_internal_fn.generateEventRectsForMultipleXs = function (eventRectEnter) |
|
|
|
.attr('height', $$.height) |
|
|
|
.attr('height', $$.height) |
|
|
|
.attr('class', CLASS.eventRect) |
|
|
|
.attr('class', CLASS.eventRect) |
|
|
|
.on('mouseout', function () { |
|
|
|
.on('mouseout', function () { |
|
|
|
if (!$$.config) { return; } // chart is destroyed
|
|
|
|
if ($$.config.destroyed) { return; } // chart is destroyed
|
|
|
|
if ($$.hasArcType()) { return; } |
|
|
|
if ($$.hasArcType()) { return; } |
|
|
|
mouseout(); |
|
|
|
mouseout(); |
|
|
|
}) |
|
|
|
}) |
|
|
|