Search code examples
javascriptmorris.js

morris.js Graph container element not found


Why am I getting an exception

Uncaught Error: Graph container element not found

when using morris.js?


Solution

  • Solution: Put the javascript after the morris.js div

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