ng8-google-chart
v0.1.0
Published
A wrapper of the Google Charts library written with Angular 6
Downloads
6
Maintainers
Readme
ng8-google-chart
A wrapper of the Google Charts library written for Angular 6 & 7
Usage
Import the GoogleChartsModule
in your app.module.ts
:
import { GoogleChartsModule } from 'ng8-google-chart';
@NgModule({
...
imports: [
...
GoogleChartsModule.forRoot(),
...
],
...
})
export class AppModule {}
And create a google-chart
component somewhere in your application:
<google-chart
[title]="chart.title"
[type]="chart.type"
[data]="chart.data"
[columnNames]="chart.columnNames"
[options]="chart.options">
</google-chart>
Install
With npm installed, run
$ npm install ng8-google-chart
Detailed Instructions
For more detailed instructions, a big readme and the source code please go to GitHub.
License
MIT