Chart library needed


#1

Anyone knows some chart library compatible with current Ionic version?


#2

Give chartist a try. It’s quite lightweight but powerful enough for many mobile charting use cases. There’s an angular2 wrapper for it: https://github.com/paradox41/angular2-chartist
However at this stage it doesn’t support AoT compilation so it would only work in “dev” mode.


#3

How do I know if a library supports AoT compilation?


#4

I don’t think there’s a comprehensive overview for 3rd party libs supporting AoT. I guess you need to try it out. If you see something like: Error: Unexpected value 'YOURLIBRARY' imported by the module 'AppModule' [11:02:41] ngc failed
it’s an indicator for missing AoT support for that library.