I am trying to use flot charts for displaying charts in an ionic 3 app.
I have tried using ng2modules flot (https://www.npmjs.com/package/ng2modules-flot). It requires importing the jquery and flot js files as follows.
However, on serving the app, i get this error
Uncaught (in promise): ReferenceError: $ is not defined at FlotComponent.ngAfterViewInit
This seems to me as though a jquery based plugin (flot chart in this case) is loaded without jquery being loaded in the application.
I just cant seem to figure out a way load jquery globally in an ionic app so that the plugin can work.
Thanks.