Best chart plugin for ionic 2.0.0 FINAL

Hello everybody,
I used NG2-Charts since I’ve started my project with ionic2.rc2 and worked fine.

Now I’m starting a new project and some charts are needed; I tried to install ng2-charts in the project with npm install ng2-charts but i get some errors:

±- UNMET PEER DEPENDENCY @angular/common@2.2.1
±- UNMET PEER DEPENDENCY @angular/core@2.2.1

npm WARN ng2-charts@1.5.0 requires a peer of @angular/common@^2.3.0 but none was installed.
npm WARN ng2-charts@1.5.0 requires a peer of @angular/core@^2.3.0 but none was installed.

It does not seem to work.

EDIT - I solved uninstalling ng2-charts and reinstalling ng2-charts@1.4.1

EDIT - what’s the best chart plugin in ionic2?

Thanks

G

has anyone found the solution to this ? I get the same error after I try to install the ng2-charts

npm install ng2-charts --save

http://valor-software.com/ng2-charts/

Did you follow the downgrade instructions in the edit?

1 Like

Ahh ! thanks works fine now