Commit efde3872 authored by Evgeny's avatar Evgeny

Redraw full chart

parent 041e5939
...@@ -6100,7 +6100,7 @@ ...@@ -6100,7 +6100,7 @@
// Hack so sub-chart draws correctly. // Hack so sub-chart draws correctly.
if($$.config.hasSubs || $$.config.isSub){ if($$.config.hasSubs || $$.config.isSub){
setTimeout(function(){ setTimeout(function(){
$$.updateAndRedraw(); $$.api.flush();
}); });
} }
}; };
......
...@@ -28,7 +28,7 @@ c3.chart.internal.fn.resolveDraw = function(options){ ...@@ -28,7 +28,7 @@ c3.chart.internal.fn.resolveDraw = function(options){
// Hack so sub-chart draws correctly. // Hack so sub-chart draws correctly.
if($$.config.hasSubs || $$.config.isSub){ if($$.config.hasSubs || $$.config.isSub){
setTimeout(function(){ setTimeout(function(){
$$.updateAndRedraw(); $$.api.flush();
}); });
} }
}; };
......
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