Commit 75082c29 authored by Evgeny's avatar Evgeny

Redraw legend

parent d8a15b9e
......@@ -6169,7 +6169,7 @@
c3.chart.internal.fn.resolveDraw = function(options){
var $$ = this;
$$.resolveCallbacks();
$$.updateAndRedraw();
$$.updateAndRedraw({ withLegend: true });
// Hack so sub-chart draws correctly.
if($$.config.hasSubs || $$.config.isSub){
setTimeout(function(){
......
......@@ -24,7 +24,7 @@ c3.chart.internal.fn.resolveCallbacks = function(){
c3.chart.internal.fn.resolveDraw = function(options){
var $$ = this;
$$.resolveCallbacks();
$$.updateAndRedraw();
$$.updateAndRedraw({ withLegend: true });
// Hack so sub-chart draws correctly.
if($$.config.hasSubs || $$.config.isSub){
setTimeout(function(){
......
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