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
- Host: GitHub
- URL: https://github.com/akkumar/ngx-easypiechart
- Owner: akkumar
- License: mit
- Created: 2018-06-04T12:07:45.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-10T15:36:28.000Z (over 6 years ago)
- Last Synced: 2025-08-25T19:27:19.371Z (10 months ago)
- Topics: angular, easypiechart, ng6
- Language: TypeScript
- Homepage: https://cadenzo.co
- Size: 342 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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")