diff --git a/src/interaction.js b/src/interaction.js index a325ced..d0a875f 100644 --- a/src/interaction.js +++ b/src/interaction.js @@ -87,7 +87,10 @@ c3_chart_internal_fn.redrawEventRect = function () { // expand points if (config.point_focus_expand_enabled) { - $$.expandCircles(closest.index, closest.id, true); + $$.unexpandCircles(); + selectedData.forEach(function (d) { + $$.expandCircles(d.index, d.id, false); + }); } $$.expandBars(closest.index, closest.id, true);