vue-chartless
Install
npm i vue-chartless
Basic usage
<!-- Vue component -->
<template>
<div>
<Chart
:def="def"
:data="data"
></Chart>
</div>
</template>
<script>
import Chart from 'vue-chartless'
export default {
components: {
Chart
},
data: () => ({
def : {
type : 'pie'
},
data : [
{ label: 'London', value:'330' },
{ label: 'Barcelona', value:'430' },
{ label: 'Paris', value:'150' },
{ label: 'Belgrade', value:'220' }
]
})
}
</script>
Supported types
- pie
- bar

Related Packages
@phronesyss/bar-chart
This is the first part of the admetricks challenge, that consist on creating two...
407
0
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.23 | ^2.6.10 | MIT | |
| 0.1.22 | ^2.6.10 | MIT | |
| 0.1.21 | ^2.6.10 | MIT | |
| 0.1.17 | ^2.6.10 | MIT | |
| 0.1.16 | ^2.6.10 | MIT | |
| 0.1.15 | ^2.6.10 | ||
| 0.1.14 | ^2.6.10 | ||
| 0.1.13 | ^2.6.10 | ||
| 0.1.12 | ^2.6.10 | ||
| 0.1.2 | ^2.6.10 | MIT |