vue-chartless

100% Simplest reactive charts for the Vue.js
1,963 12
Install
npm install vue-chartless
Latest Version:0.1.23
Vue:2
License:MIT
Last Updated:Jan 3, 2023
Links: GitHub  ·  npm
Maintainer: kumric

Install

npm i vue-chartless

Basic usage

<!-- Vue component -->
<template>
    <div>
        <Chart 
            :def="def"
            :data="data"
        ></Chart>
    </div>
</template>

<script>
import Chart from 'vue-chartless'

export default {
    components: {
      Chart
    },
    data: () => ({
        def : {
            type : 'pie'
        },
        data : [
            { label: 'London', value:'330' },
            { label: 'Barcelona', value:'430' },
            { label: 'Paris', value:'150' },
            { label: 'Belgrade', value:'220' }
        ]
    })
}
</script>

Supported types

  • pie
  • bar

alt text

Related Packages

vue-chart

A Powerful and Highspeed Markdown Parser for Vue

6,140 48
vue-okr-tree

一个特殊布局模式结构的`vue Tree`组件

3,749 650
@efont/vue-baselib

vue-baselib

2,721 2
@phronesyss/bar-chart

This is the first part of the admetricks challenge, that consist on creating two...

407 0

Version History

Version Released Vue License
0.1.23 ^2.6.10 MIT
0.1.22 ^2.6.10 MIT
0.1.21 ^2.6.10 MIT
0.1.17 ^2.6.10 MIT
0.1.16 ^2.6.10 MIT