@laramab/x-chart
v1.0.4
Published
A simple snippet vue-chartjs code base.
Downloads
5
Maintainers
Readme
x-chart
A simple snippet vue-chartjs code base.
Installation
npm install @laramab/x-chart --save
Nuxtjs
npm install vue-chartjs chart.js --save
Import the package into main.js
file
import Vue from 'vue'
import XChart from '@laramab/x-chart'
Vue.use(XChart)
Usage
Example.vue
<template>
<x-chart-line/>
<x-chart-doughnut/>
<x-chart-bar/>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
Plugins
chartjs-plugin-datalabels@1