# ngx-ezpie

> An Angular Module to make use of [easy-pie-chart.js library](https://github.com/rendro/easy-pie-chart).

Latest version **0.0.3** (published 2018-11-09) · 0 weekly downloads

## Install

```sh
npm install ngx-ezpie
pnpm add ngx-ezpie
yarn add ngx-ezpie
bun add ngx-ezpie
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2018-11-09 |
| First published | 2018-11-09 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 67 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | sugarme |

## Links

- npm: https://www.npmjs.com/package/ngx-ezpie
- npm.io page: https://npm.io/package/ngx-ezpie

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.9.0

## Recent versions

- 0.0.3 (latest) — 2018-11-09
- 0.0.2 — 2018-11-09
- 0.0.1 — 2018-11-09

## README

# NgxEzpie Module

An Angular Module to make use of [easy-pie-chart.js library](https://github.com/rendro/easy-pie-chart).

## How to use

### 1. Install package

```
npm install ngx-ezpie easy-pie-chart --save

// or

yarn add ngx-ezpie easy-pie-chart
```

### 2. Add module

E.g. to app module

```typescript
...
import {NgxEzpieModule} from 'ngx-ezpie';

@NgModule({
  declarations : [
    AppComponent,
  ],
  imports : [
    BrowserModule,
    NgxEzpieModule, // <--- Add module here
  ],
  providers : [],
  bootstrap : [ AppComponent ]
})
export class AppModule {
}
```

### 3. Use it

E.g. in app component

```html
<div>
  <h2>Easy Pie Chart</h2>
  <easypie [percent]="percent" [options]="myopts"></easypie>
</div>
```

```typescript
@Component({
  selector : 'app-root',
  templateUrl : './app.component.html',
  styleUrls : [ './app.component.scss' ]
})
export class AppComponent {

  percent: number = 78;

  myopts: any = {
    size : 100,
    rotate: 0,
    barColor: 'purple',
    trackColor: 'blue',
    lineWidth: 3,
  };
}
```

### 4. Further options

Refer to [easy-pie-chart options](https://github.com/rendro/easy-pie-chart/blob/master/docs/options.md)

---
_Source: https://npm.io/package/ngx-ezpie · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
