fix tooltip with array returns

This commit is contained in:
Evert Timberg 2016-06-14 19:19:15 -04:00
parent 44e4004589
commit f106e1bf2d

View File

@ -86,7 +86,8 @@ module.exports = function(Chart) {
function pushOrConcat(base, toPush) {
if (toPush) {
if (helpers.isArray(toPush)) {
base = base.concat(toPush);
//base = base.concat(toPush);
Array.prototype.push.apply(base, toPush);
} else {
base.push(toPush);
}