angular - ionic 2 google charts Uncaught TypeError: (void 0) is not a function -


error: error

i want add google charts , follow https://www.npmjs.com/package/angular2-google-chart

but give me error ; uncaught typeerror: (void 0) not function

i can't solve problem until today

how can solve problem ? thanx now

app.module.ts;

import { ngmodule, errorhandler } '@angular/core'; import { browsermodule } '@angular/platform-browser'; import { ionicapp, ionicmodule, ionicerrorhandler } 'ionic-angular'; import { myapp } './app.component';    import { statusbar } '@ionic-native/status-bar'; import { splashscreen } '@ionic-native/splash-screen'; import { dbprovider } '../providers/db/db'; import { ionicstoragemodule } '@ionic/storage'; import { httpmodule } '@angular/http'; import { sqliteporter } '@ionic-native/sqlite-porter'; import { sqlite } '@ionic-native/sqlite'; import { taskserviceprovider } '../providers/task-service/task-service' import { chartmodule } 'angular2-highcharts'; import * highcharts 'highcharts'; import {googlechart} 'angular2-google-chart/directives/angular2-google-chart.directive';   @ngmodule({   declarations: [     myapp,     kanalolusturpage,     kanalpage,     tabspage,     getlerpage,     postlarpage,     uyelikpage,     elementolusturpage,     verilerpage,     googlechart   ],   imports: [     browsermodule,     httpmodule,     ionicmodule.forroot(myapp),     ionicstoragemodule.forroot(),     chartmodule.forroot(highcharts)   ],   bootstrap: [ionicapp],   entrycomponents: [     myapp,     kanalolusturpage,     kanalpage,     tabspage,     getlerpage,     postlarpage,     uyelikpage,     elementolusturpage,     verilerpage,   ],   providers: [     statusbar,     splashscreen,     {provide: errorhandler, useclass: ionicerrorhandler},     dbprovider,     dbprovider,     sqliteporter,     sqlite,     taskserviceprovider   ] }) export class appmodule {} 


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -