0.1.10 • Published 2 years ago

vue-frappe-chart v0.1.10

Weekly downloads
284
License
MIT
Repository
github
Last release
2 years ago

Vue Frappe Charts

npm version

This is a simple vue wrapper for the frappe/charts package.

Supports Vue.js version 2 and 3.

Getting Started

Install via npm:

npm install vue-frappe-chart

Globally import / initialize:

import Vue from "vue"
import Chart from "vue-frappe-chart"

Vue.use(Chart)

or use the component directly:

import { VFrappeChart } from "vue-frappe-chart"

export default {
  components: {
    VFrappeChart,
  },
}

In our template:

<v-frappe-chart
  type="bar"
  :labels="['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']"
  :data="[{ values: [18, 40, 30, 35, 8, 52, 17, -4] }]"
  :colors="['red']"
/>

Resources

0.1.10

2 years ago

0.1.8

2 years ago

0.1.9

2 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago