Closed kritsky closed 5 years ago
I was trying this: new Dailychart(document.getelementsbyclassname('chart'), {
new Dailychart(document.getelementsbyclassname('chart'), {
But i've got the error:
Uncaught TypeError: t.getAttribute is not a function
How to do that? Thanks
Hello! The constructor doesn't accept an array at the moment. You could use a for loop to initialize every element. It would be a good feature for the next release though. Thanks for the hint.
for
Thanks
I was trying this:
new Dailychart(document.getelementsbyclassname('chart'), {
But i've got the error:
How to do that? Thanks