0.1.7 • Published 7 years ago

ngx-easypiechart v0.1.7

Weekly downloads
189
License
MIT
Repository
github
Last release
7 years ago

ngx-easypiechart

ng 6/7 module for easy-pie-chart.

EasyPieChart

More details on easy-pie-chart.

Usage

package.json

Add the following to package.json file.

    "easy-pie-chart": "~2.1.7",
    "ngx-easypiechart": "0.1.5"

app.module.ts

Add the following to app.module.ts file.

import { NgxEasypiechartModule } from 'ngx-easypiechart';
..
..
imports: [
  ...,
  NgxEasypiechartModule,
  ...
]

macro

<ngx-easypiechart [options]="options" [percent]="percent">
</ngx-easypiechart>

typescript code

  constructor() {
    this.percent = 80;
    this.options = {
      size: 50,
      rotate: 0
    };
    ...
  }

For the exhaustive list of options, refer to the original easy-pie-chart documentation

Development

Prepare dist version

ng build ngx-easypiechart --prod

(aliter:)

npm run build
0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.0.9

7 years ago

0.1.0

7 years ago