@laramab/x-chart

1.0.4 • Public • Published

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

Package Sidebar

Install

npm i @laramab/x-chart

Weekly Downloads

0

Version

1.0.4

License

none

Unpacked Size

1.52 MB

Total Files

8

Last publish

Collaborators

  • laramab