angular-google-charts
Version:
A wrapper for the Google Charts library written with Angular
52 lines (37 loc) • 871 B
Markdown
for the [Google Charts library](https://google-developers.appspot.com/chart/) written in Angular.
With [npm](https://npmjs.org/) 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
<google-chart
[ ]="chart.title"
[ ]="chart.type"
[ ]="chart.data"
[ ]="chart.columnNames"
[ ]="chart.options"
>
</google-chart>
```
Find the full readme at [GitHub](https://github.com/FERNman/angular-google-charts).
MIT
> A wrapper