An open API service indexing awesome lists of open source software.

https://github.com/akkumar/ngx-easypiechart

angular 4/5/6/7 module for easypiechart
https://github.com/akkumar/ngx-easypiechart

angular easypiechart ng6

Last synced: 5 months ago
JSON representation

angular 4/5/6/7 module for easypiechart

Awesome Lists containing this project

README

          

# ngx-easypiechart

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

## EasyPieChart

More details on [easy-pie-chart](https://github.com/rendro/easy-pie-chart "Title").

## Usage

### package.json

Add the following to ``package.json`` file.

```json
"easy-pie-chart": "~2.1.7",
"ngx-easypiechart": "0.1.7"
```

### app.module.ts

Add the following to ``app.module.ts`` file.

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

### HTML ( macro )

The following macro can be embedded in HTML to display the easy-pie-chart.

```html

```

### typescript code

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

For the exhaustive list of options, refer to the [original easy-pie-chart documentation](https://github.com/rendro/easy-pie-chart#options "Title")