[Chartjs]-Issues with ng2-charts

0๐Ÿ‘

โœ…

I had the same issue, Add like this to the System.config.js

map: {
 'ng2-charts': 'npm:ng2-charts'
}

packages: {
'ng2-charts': {
      main: 'ng2-charts.js',
      defaultExtension: 'js'
 }
}

and then in your module,

import { ChartsModule } from 'ng2-charts/ng2-charts';

Leave a comment