1.0.0 • Published 5 years ago

vue-pictorial-chart v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

vue-pictorial-chart

a graphical visualization of SVG graphics.

github:https://github.com/wangweima/vue-pictorial-chart

demo:

demo

How to use?

npm install vue-pictorial-chart

Example

<template>
   <pictorial-chart :icon="carIconSvg" per="8.5" size="60" total="14"></pictorial-chart>
</template>
<script>
  import carIconSvg from "../assets/car.svg";
  import PictorialChart from "vue-pictorial-chart";
  export default {
    components: { PictorialChart },
    data () {
      return {
        carIconSvg
      }
    }
  }

Options

PropertyDescriptiontypedefault
iconSVG iconfile
totaltotalNumber10
perperNumber0
sizesizeNumber50
activeColoractiveColorString