Commit 32e296e9 authored by Evgeny's avatar Evgeny

Fix legend step in node

parent 4065548a
......@@ -4166,7 +4166,7 @@
var hasFocused = $$.legend.selectAll('.' + CLASS.legendItemFocused).size();
var texts, rects, tiles, background;
var nodeOffset = isNode() ? 1 : 3;
var nodeOffset = isNode() ? 3 : 1;
options = options || {};
withTransition = getOption(options, "withTransition", true);
......
......@@ -125,7 +125,7 @@ c3_chart_internal_fn.updateLegend = function (targetIds, options, transitions) {
var hasFocused = $$.legend.selectAll('.' + CLASS.legendItemFocused).size();
var texts, rects, tiles, background;
var nodeOffset = isNode() ? 1 : 3;
var nodeOffset = isNode() ? 3 : 1;
options = options || {};
withTransition = getOption(options, "withTransition", 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