@somasekhar1712/ngx-google-charts
v0.0.1
Published
A wrapper for the Google Charts library written with Angular
Downloads
1
Maintainers
Readme
ngx-google-charts
A wrapper for the Google Charts library written in ngx.
Install
With npm installed, run
npm install ngx-google-charts
Usage
Import the GoogleChartsModule
in your app.module.ts
:
import { GoogleChartsModule } from 'ngx-google-charts';
@NgModule({
...
imports: [
...
GoogleChartsModule,
...
],
...
})
export class AppModule {}
And create a google-chart
component somewhere in your application:
<google-chart
[title]="chart.title"
[type]="chart.type"
[data]="chart.data"
[columns]="chart.columnNames"
[options]="chart.options"
>
</google-chart>
Detailed Instructions
Find the full readme at GitHub.
License
MIT