I am trying to use this plugin for my line charts, but the tags are not being inserted after each element like in the example on chartist shows. (https://gionkunz.github.io/chartist-js/plugins.html#point-label-plugin). I have included the plugin JS file in project, also modified angular-cli.json to include JS file, modified tsconfig.app.json & tsconfig.spec.json to set allowJs as true but still no luck. Not sure if i am missing anything. -
tsconfig.app.json
ERROR in C:/Users/Dashboard/src/app/dashboard/d
ashboard.component.ts (11,32): File 'C:/Users/Dashboard/src/assets/js/chartist-plugin-pointlabels.js' is not a module.
I am trying to use this plugin for my line charts, but the tags are not being inserted after each element like in the example on chartist shows. (https://gionkunz.github.io/chartist-js/plugins.html#point-label-plugin). I have included the plugin JS file in project, also modified angular-cli.json to include JS file, modified tsconfig.app.json & tsconfig.spec.json to set allowJs as true but still no luck. Not sure if i am missing anything. - tsconfig.app.json
tsconfig.spec.json
angular-cli.json
dashboard.components.ts
Compilation error message -
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry] [ rendered] chunk {main} main.bundle.js, main.bundle.js.map (main) 1.06 kB {vendor} [initial ] [rendered] chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 323 b ytes {inline} [initial] [rendered] chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 329 kB {inline} [ initial] [rendered] chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 338 kB [initial] [rendered]
ERROR in C:/Users/Dashboard/src/app/dashboard/d ashboard.component.ts (11,32): File 'C:/Users/Dashboard/src/assets/js/chartist-plugin-pointlabels.js' is not a module.
webpack: Failed to compile.