Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Chartjs component is based on chart.js for Vue Bulma
https://github.com/vue-bulma/chartjs

Last synced: 3 months ago
JSON representation

Chartjs component is based on chart.js for Vue Bulma

Awesome Lists containing this project

README

        

# Chartjs

Chartjs component is based on [chart.js](http://www.chartjs.org) for Vue Bulma.

## Installation

```
$ npm install vue-bulma-chartjs
```

## Examples

```vue

import Chart from 'vue-bulma-chartjs'

export default {
components: {
Chart
},

data () {
return {
data: {
labels: ['Sleeping', 'Designing', 'Coding', 'Cycling'],
datasets: [{
data: [20, 40, 5, 35],
backgroundColor: [
'#1fc8db',
'#fce473',
'#42afe3',
'#ed6c63',
'#97cd76'
]
}]
},
options: {
segmentShowStroke: false
}
}
}
}

```

## 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)