angular-google-charts
A wrapper for the Google Charts library written with Angular
🌟 Show real-time usage chart on angular-google-charts's README.md, just copy the code below.## Usage Trend
[](https://npm-compare.com/angular-google-charts#timeRange=THREE_YEARS)
🌟 Show GitHub stars trend chart on angular-google-charts's README.md, just copy the code below.## GitHub Stars Trend
[](https://npm-compare.com/angular-google-charts)
angular-google-charts
A wrapper for the Google Charts library written in Angular.
Install
With npm installed, run
npm install angular-google-charts
Usage
Import the GoogleChartsModule in your app.module.ts:
import { GoogleChartsModule } from 'angular-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