Browse Source

Fix expand circle

pull/2246/head
Masayuki Tanaka 7 years ago
parent
commit
aecf299956
  1. 5
      src/interaction.js

5
src/interaction.js

@ -87,7 +87,10 @@ c3_chart_internal_fn.redrawEventRect = function () {
// expand points // expand points
if (config.point_focus_expand_enabled) { 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); $$.expandBars(closest.index, closest.id, true);

Loading…
Cancel
Save