ngx-easypiechart
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ngx-easypiechart

Weekly Downloads

95

Version

0.1.7

License

MIT

Unpacked Size

72.6 kB

Total Files

27

Last publish

Collaborators

  • hellokarthik