0.0.20 • Published 7 years ago

@mhadm/vue-radial-chart v0.0.20

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
7 years ago

Vue Radial Chart

Vue Radial Chart WIP

Abstract

The component aims to integrate a dynamic radial chart

The component allow to :

  • display an array of object
  • animate change of the array
  • export the chart as base64 image

Table of contents

  1. Software dependencies
  2. Use
    1. Install component
    2. Import component in your vue file
    3. Props
      1. options
      2. data
  3. Dev Setup

    <!-- DEMO GIF -->

Software dependencies

Vue Radial Chart

Use

Install component

npm i vue-chart-radial --save

Import component in your vue file

please refer to data and option property after this section

<template>
    <div>
        <vue-radial-chart :options="options" :data="data"></vue-radial-chart>
    </div>
</template>

<script>
import VueRadialChart from 'vue-radial-chart'

export default {
    name: 'dummy',
    components: {
        VueRadialChart
    },
    data () {
        return {
            options : `...`,
            data: `...`
        }
    }
}
</script>

Props

  1. data format

    ```json
    data: {
        "todo"
    }
    ```
  2. options for customization not mandatory

    options: {
        "todo"
    }

Dev Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm start

# build package component for production
npm run build

# publish npm package
npm version patch
npm publish --access public

For a detailed explanation on how things work, check out the d3 and gsap documentation.

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.9

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago