0.1.23 • Published 6 years ago

vue-chartless v0.1.23

Weekly downloads
102
License
MIT
Repository
github
Last release
6 years ago

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

0.1.23

6 years ago

0.1.22

6 years ago

0.1.21

6 years ago

0.1.2

6 years ago

0.1.17

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago