morris.js Graph container element not found

后端 未结 5 850
情歌与酒
情歌与酒 2020-12-30 21:12

Why am I getting an exception

Uncaught Error: Graph container element not found

when using morris.js?

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-30 21:45

    I had this issue when I was using the node.js framework. Taking out the script tags containing the morris charts and the jquery from the bottom of the html file worked for me. I am using Require.js to load the dependencies for my project instead. I hope this helped.

提交回复
热议问题