Commit 86cecc4b authored by Evgeny's avatar Evgeny

updateAndRedraw on changing legend position

parent 159fdb24
......@@ -7782,7 +7782,7 @@
$$.isLegendRight = position === 'right';
$$.isLegendInset = position === 'inset';
$$.cachedRedraw({withLegend: true});
$$.updateAndRedraw({withLegend: true});
};
......
......@@ -29,6 +29,6 @@ c3_chart_fn.legend.position = function(position) {
$$.isLegendRight = position === 'right';
$$.isLegendInset = position === 'inset';
$$.cachedRedraw({withLegend: true});
$$.updateAndRedraw({withLegend: 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