Commit 30ce1f82 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix subchart interaction when bindto is null - #1020

parent e83d0e78
...@@ -914,6 +914,7 @@ ...@@ -914,6 +914,7 @@
if (selection.node().parentNode) { if (selection.node().parentNode) {
window.clearInterval($$.intervalForObserveInserted); window.clearInterval($$.intervalForObserveInserted);
$$.updateDimension(); $$.updateDimension();
if ($$.brush) { $$.brush.update(); }
$$.config.oninit.call($$); $$.config.oninit.call($$);
$$.redraw({ $$.redraw({
withTransform: true, withTransform: true,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -909,6 +909,7 @@ c3_chart_internal_fn.observeInserted = function (selection) { ...@@ -909,6 +909,7 @@ c3_chart_internal_fn.observeInserted = function (selection) {
if (selection.node().parentNode) { if (selection.node().parentNode) {
window.clearInterval($$.intervalForObserveInserted); window.clearInterval($$.intervalForObserveInserted);
$$.updateDimension(); $$.updateDimension();
if ($$.brush) { $$.brush.update(); }
$$.config.oninit.call($$); $$.config.oninit.call($$);
$$.redraw({ $$.redraw({
withTransform: true, withTransform: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment