NoxxieNl's avatar

Cant get morris.js to work

Hiya all guys,

I am new to the mix world and to the nodeJS world in for that.

Currently I am trying to get Morris.Bar() to work from the morris.js package.

I installed it using: npm install morris-js-module

added to window.Morris = require('morris-js-module') to my app.js file. Only after the compile and running I get the error in console:

Morris.Bar() is not a function same with Donut() ed..

Am just plain out missing something here or just doing something wrong...?

0 likes
1 reply
Sinnbeck's avatar

Can you show some code? Also. Seems the code and npm package hasn't been updated for 3 years. Perhaps consider an alternative?

Please or to participate in this conversation.