Skip to content

Files

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 19, 2022
Jun 19, 2022
Jun 19, 2022
Jun 19, 2022
Jun 19, 2022
Jun 19, 2022
Feb 24, 2021
Jun 19, 2022
Jun 19, 2022
Jun 19, 2022
Jun 19, 2022
Jun 19, 2022
Sep 8, 2022

Vue Frappe Charts

Vue logo

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