0.1.23 • Published 5 years ago

vue-chartless v0.1.23

Weekly downloads
102
License
MIT
Repository
github
Last release
5 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

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.2

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago