Customizable & Composable Charts for VueJS | vue-wcharts

WCharts is a library that makes it easy to create your own charts using Vuejs. You can easily create reusable chart components. Use a basic layout or customize your layouts by passing props or using custom slots or components.

Features & characteristics:

  • Linear Charts
  • Bar Charts
  • Stack Charts
  • Pie Charts
  • Animation components
  • Additional components

Must Read: Open Source CSS Chart & Graph Framework For Data Visualization | Charts.css

free-vue-chart-library

How to make use of it:

Installation:

yarn add vue-wcharts
or
npm install vue-wcharts

1. The UMD version is also available at unpkg.com (unpkg):

<script src="//unpkg.com/vue-wcharts"></script>

2. Add your vue.config.js file.

transpileDependencies: [
    /\/node_modules\/vue-wcharts\//,
],

3. Add your jest.config.js.

transformIgnorePatterns: [
    '/node_modules/(?!vue-wcharts|d3-array|d3-scale|d3-shape)',
],

4. Import the library as a plugin for Vue to enable the functionality globally on all components.

import Vue from 'vue'
import WCharts from 'vue-wcharts'

Vue.use(WCharts)

5. Alternatively, you can upload only components that you will use.

import Vue from 'vue'
import { WCartesian, WLine } from 'vue-wcharts'

Vue.component('WCartesian', WCartesian)
Vue.component('WLine', WLine)

6. If you build a tool that supports it, upload it on demand, and register the components you need.

<template>
    <WCartesian :dataset="values">
        <WLine datakey="one" />
    </WCartesian>
</template>
<script>
import { WCartesian, WLine } from 'vue-wcharts'

export default {
  components: {
    WCartesian,
    WLine,
  },
  data() {
    return {
        values: [
            { name: 'Page A', one: 1000 },
            { name: 'Page B', one: 3000 },
            { name: 'Page C', one: 2000 },
        ]
    }
  )
}
</script>

vue-charts-examples

See Demo And Download

Official Website(Waavi): Click Here

This superior jQuery/javascript plugin is developed by Waavi. For extra advanced usage, please go to the official website.

Related Posts

Input-Values-Using-Mouse-Drag

Create Side Sliders Input Values Using Mouse Drag | Pointer Lock

HTML Range Slider is a lightweight library to create side sliders to adjust values easily and precisely by making use of the Pointer Lock API. Side Slider…

simple-parallax-scrolling-js

Smooth and Lightweight Parallax Scroll Library in Pure Javascript

Lightweight and seamless parallax scrolling library implemented in pure javascript using hardware acceleration for additional performance. Main Features Extremely lightweight with no dependencies A few kilobytes of pure…

Convert-Form-Data-to-JSON

How to Convert Form Data to JSON with HTML Forms | FormsJS

FormsJS is a simple-to-use JavaScript library that covers type subject values to JSON in real time. The items containing the data category will be analyzed automatically. It…

editable-html-table-using-javascript

A Small jQuery Extension to Convert An Editable HTML Table

Editable Table is a small jQuery extension to convert an editable HTML table for fast data entry and validation. A small jQuery extension to convert a static…

jquery.youtube-background

Simple jQuery Plugin for Embedding YouTube Videos As Cover Background

jquery.youtube-background is a jQuery plugin built to facilitate YouTube embeds as cover wallpaper using the YouTube Embed API. There is another jQuery Youtube Video Background plugin that…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…