pastille

A percentage indicator chart thing for Angular

MIT License

Downloads
3
Stars
3
Committers
2

Pastille

A percentage indicator chart thing for Angular

Usage

In your module:

import { PastilleModule } from 'pastille';

@NgModule({
  ...
  imports: [
    ...
    PastilleModule
    ...
  ],
  ...  
})

In your template:

<lib-pastille [data]="data"></lib-pastille>

Where data is in the following format:

data = [{
  name: 'Downloaded',
  value: 50,
  color: '#8bc34a'
}, {
  name: 'Failed',
  value: 30,
  color: '#f44336'
}, {
  name: 'Not downloaded',
  value: 20,
  color: '#cfd8dc'
}]

Development

npm start runs the example app on localhost:1337

Package Rankings
Top 20.38% on Npmjs.org
Badges
Extracted from project README
Pastille build CI status