A wrapper for the Google Charts library written with Angular
npm install angular-google-charts> A wrapper for the Google Charts library written in Angular.
With npm installed, run
``bash`
npm install angular-google-charts
Import the GoogleChartsModule in your app.module.ts:
`typescript
import { GoogleChartsModule } from 'angular-google-charts';
@NgModule({
...
imports: [
...
GoogleChartsModule,
...
],
...
})
export class AppModule {}
`
And create a google-chart component somewhere in your application:
`html``
[type]="chart.type"
[data]="chart.data"
[columns]="chart.columnNames"
[options]="chart.options"
>
Find the full readme at GitHub.
MIT