Open singhrasster opened 7 years ago
I have this same issue, were you able to fix it?
me too take , could you solve problem?
https://stackoverflow.com/questions/45347637/ionic-2-google-charts-void-0-is-not-a-function
No, I could not find a solution to this. If you find something, please post the solution here if possible so it can help in future.
On Fri, Jul 28, 2017 at 6:29 AM, Ahme Emre ÇETİN notifications@github.com wrote:
me too take , could you solve problem?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vimalavinisha/angular2-google-chart/issues/51#issuecomment-318628967, or mute the thread https://github.com/notifications/unsubscribe-auth/AC7rUiPMKJ3DVq5E-2ZSRHLEJiQLZOA7ks5sScYdgaJpZM4OSKZd .
okay. you too please
I'm getting this error with angular@4.1.3 and angular2-google-chart@2.3.0. Did anyone find a fix for this?
I found a fix by taking the angular2-google-chart.directive.ts file and adding it directly to a component in my project (Ionic 3.5.0 at the moment). I suspect the main problem was that it just needed to be recompiled with my version of TypeScript (2.3.4 at the moment).
I followed this to import GoogleChart in app.module.ts https://www.npmjs.com/package/angular2-google-chart But, when I import it, I get the following error:
ncaught TypeError: (void 0) is not a function at eval (eval at (app.js:5614), :1:9)
at Object. (app.js:5614)
at webpack_require (polyfills.js:53)
at eval (eval at (app.js:5062), :80:41)
at Object. (app.js:5062)
at webpack_require (polyfills.js:53)
at eval (eval at (app.js:3059), :4:20)
at Object. (app.js:3059)
at webpack_require (polyfills.js:53)
at Object. (app.js:5580)
at webpack_require (polyfills.js:53)
at webpackJsonpCallback (polyfills.js:24)
Is there a bug in the library or I am missing something?