morris.js Graph container element not found

后端 未结 5 847
情歌与酒
情歌与酒 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 22:05

    Solution: Put the javascript after the morris.js div

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

提交回复
热议问题