Update c3.js and c3.min.js

parent 30f80fa8
......@@ -5043,15 +5043,20 @@
var minY, maxY, minX, maxX;
var i,j, id;
var stacked;
// detect if we have stacked group
var stacked = false;
var groups = $$.api.groups();
groups.forEach(function(elem){
if(elem.length) {
stacked = true;
}
});
if ($$.ed3Config.stacked) {
stacked = true;
} else {
stacked = false;
var groups = $$.api.groups();
groups.forEach(function (elem) {
if (elem.length) {
stacked = true;
}
});
}
var stackedSum = [];
var allData = $$.api.data();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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