Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

angular-google-charts

0.1.6 • Public • Published

angular-google-charts

A wrapper of the Google Charts library written for Angular 6 & 7

Usage

Import the GoogleChartsModule in your app.module.ts:

import { GoogleChartsModule } from 'angular-google-charts';
 
@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 angular-google-charts

Detailed Instructions

For more detailed instructions, a big readme and the source code please go to GitHub.

License

MIT

Install

npm i angular-google-charts

DownloadsWeekly Downloads

7,670

Version

0.1.6

License

MIT

Unpacked Size

361 kB

Total Files

41

Last publish

Collaborators

  • avatar