0.3.0 • Published 4 years ago

vue-doughnut-chart v0.3.0

Weekly downloads
373
License
MIT
Repository
github
Last release
4 years ago

🍩 Vue Doughnut Chart

Doughnut chart component for Vue.js, originally created by Greg Willson in codepen

version minified downloads Travis Dependabot Status

Demo

https://mazipan.github.io/vue-doughnut-chart

Install

yarn add vue-doughnut-chart
# OR
npm i vue-doughnut-chart

Use in components

import DoughnutChart from 'vue-doughnut-chart'

export default {
  components: {
    DoughnutChart
  }
}

Props

Props NameTypeDefault ValueDescription
percentNumber0
foregroundColorString'#1993ff'
backgroundColorString'#ecf6ff'
strokeWidthNumber10
radiusNumber85
widthNumber200
heightNumber200
classValueString''
visibleValueBooleanfalse
valueCountUpBooleanfalse
valueCountUpDurationNumber2000Number in milliseconds
valueCountUpDelayNumber500Percent count-up delay (for changing values)
customPercentSizeNumber40Percent font size in pixels (max 60)
passTextAsHtmlBooleanfalseAllows to add simple html into label
customTextString''Label value
customTextColorString'#1993ff'Valid HEX color code or CSS color for label
customTextSizeNumber15Label font size in pixels (max 22)

Bringing to NPM Registry by Irfan Maulana © 2018

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

5 years ago

0.0.5

5 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago