Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Graph container element not found

Tags:

angularjs

Why am I getting an exception "Uncaught Error: Graph container element not found" when using morris.js?

like image 542
hari Avatar asked Mar 26 '26 00:03

hari


1 Answers

Solution: Put the javascript after the morris.js div

From this post from tiraeth: https://github.com/morrisjs/morris.js/issues/137

like image 135
John Avatar answered Mar 27 '26 21:03

John



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!