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

https://github.com/vue-bulma/peity

A Vue version of an excellent peity library for beautiful mini <svg> graphs.
https://github.com/vue-bulma/peity

Last synced: about 1 month ago
JSON representation

A Vue version of an excellent peity library for beautiful mini <svg> graphs.

Awesome Lists containing this project

README

          

# Peity

A Vue version of an excellent [peity](https://github.com/benpickles/peity) library for beautiful mini graphs.

## Usage

```vue

import Peity from 'vue-peity'

export default {
components: {
Peity
},

computed: {
pieData () {
return this.data.toString()
}
},

data () {
return {
data: [1, 2, 3, 2, 2]
}
},

created () {
setInterval(() => {
// https://vuejs.org/guide/list.html#Mutation-Methods
this.data.unshift(this.data.pop())
}, 377)
}
}

```

## Badges

![](https://img.shields.io/badge/license-MIT-blue.svg)
![](https://img.shields.io/badge/status-stable-green.svg)

---

> [fundon.me](https://fundon.me)  · 
> GitHub [@fundon](https://github.com/fundon)  · 
> Twitter [@_fundon](https://twitter.com/_fundon)