Uncaught Typeerror: Cannot Read Property 'draw' Of Undefined
for (var i = 0; i < reduced.length; i++) { var innerdata = []; for (var j = 0; j < days.length; j++) { var rev = 0; _.each(reduced[i].data, function(timer
Solution 1:
Chartjs expects an object, not an array, so use data = {}
instead of data.push({})
.
Post a Comment for "Uncaught Typeerror: Cannot Read Property 'draw' Of Undefined"