Update c3.js and c3.min.js

parent 30f80fa8
...@@ -5043,15 +5043,20 @@ ...@@ -5043,15 +5043,20 @@
var minY, maxY, minX, maxX; var minY, maxY, minX, maxX;
var i,j, id; var i,j, id;
var stacked;
// detect if we have stacked group // detect if we have stacked group
var stacked = false; if ($$.ed3Config.stacked) {
var groups = $$.api.groups(); stacked = true;
groups.forEach(function(elem){ } else {
if(elem.length) { stacked = false;
stacked = true; var groups = $$.api.groups();
} groups.forEach(function (elem) {
}); if (elem.length) {
stacked = true;
}
});
}
var stackedSum = []; var stackedSum = [];
var allData = $$.api.data(); 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