chartjs-node icon indicating copy to clipboard operation
chartjs-node copied to clipboard

Cannot read property 'toBlob' of undefined

Open adman020 opened this issue 8 years ago • 2 comments

Hi,

Code works for one chart but when I create more then I get this error. I am new to Node and thought that that it was missing the data?

adman020 avatar Sep 02 '17 21:09 adman020

Hey, did you happen to find a solution for this problem?

BenediktMiller avatar Nov 18 '18 14:11 BenediktMiller

I had that error and I was able to fix it by changing up the order of my code!

for(var client in info){ for(var metric in info[client]){ createChart(info[client][metric], client,metric) } } createChart creates the chart and downloads it just like how the readme file shows you how to do it!

jeffreycxu avatar Aug 18 '19 19:08 jeffreycxu