A wrapper of the Google Charts library written with Angular 6
npm install ng8-google-chartGoogleChartsModule in your app.module.ts:
typescript
import { GoogleChartsModule } from 'ng8-google-chart';
@NgModule({
...
imports: [
...
GoogleChartsModule.forRoot(),
...
],
...
})
export class AppModule {}
`
And create a google-chart component somewhere in your application:
`html
[title]="chart.title"
[type]="chart.type"
[data]="chart.data"
[columnNames]="chart.columnNames"
[options]="chart.options">
`
Install
With npm installed, run
`
$ npm install ng8-google-chart
``