S
S
Serp3nt2017-04-05 21:14:57
JavaScript
Serp3nt, 2017-04-05 21:14:57

How to connect ng2-charts in angular 2?

It is necessary to draw a chart using Angular 2. I came across ng2-charts. I plug it in and nothing works. It seems that he followed all the points of the documentation - valor-software.com/ng2-charts .
I tried downloading ready-made projects from github, all the same troubles. Tried uninstalling and reinstalling node_module. Why might this directive not work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Serp3nt, 2017-04-06
@Serp3nt

Problem solved - wrote: 'ng2-charts': 'npm:ng2-charts/bundles/ng2-charts.umd.min.js'
in the systemjs.config.js file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question