Fix findMinMax for non-stacked charts

parent 381dd784
...@@ -592,7 +592,7 @@ c3_chart_internal_fn.findMinMax = function () { ...@@ -592,7 +592,7 @@ c3_chart_internal_fn.findMinMax = function () {
var stacked; var stacked;
// detect if we have stacked group // detect if we have stacked group
if ($$.ed3Config.stacked !== undefined) { if ($$.ed3Config.stacked !== undefined) {
stacked = true; stacked = $$.ed3Config.stacked;
} else { } else {
stacked = false; stacked = false;
var groups = $$.api.groups(); var groups = $$.api.groups();
......
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