vue-chartless
100% Simplest reactive charts for the Vue.js
Last updated 3 months ago by kumric .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install vue-chartless 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.23                                ...           latest (3 months ago)

10 Versions

  • 0.1.23                                ...           3 months ago
  • 0.1.22                                ...           3 months ago
  • 0.1.21                                ...           3 months ago
  • 0.1.2                                ...           3 months ago
  • 0.1.17                                ...           3 months ago
  • 0.1.16                                ...           4 months ago
  • 0.1.15                                ...           4 months ago
  • 0.1.14 [deprecated]           ...           4 months ago
  • 0.1.13 [deprecated]           ...           4 months ago
  • 0.1.12 [deprecated]           ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 10
Dependencies (4)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |