Skip to content

angeeks/chart

Repository files navigation

@angeeks/chart

Build Status

Yet another chart.js wrapper for Angular

Installation

  npm i -P @angeeks/chart

Module setup

  # app.module.ts
  {{"
  import { ChartModule } from '@angeeks/chart';
  @NgModule({
    imports: [
      ...
      ChartModule.forRoot()
    ],
    ...
  }
  export class AppModule {}
  "}}

Usage

  <ngk-chart type='bar' [data]='data'></ngk-chart>

Demo