1.10.0 • Published 4 years ago
vue-pie-canvas v1.10.0
Usage
command:
npm install -S vue-pie-canvas
script:
import Pie from "vue-pie-canvas";
components: {
Pie
}
data(){
return{
basedata: [
{
num: 200,//any size
color: "black",
},
{
num: 200,
color: "yellow",
},
{
num: 200,
color: "green",
},
],
r: 50,
id: "xxxx-1",//uniqueness
}
}
html:
<Pie :basedata="basedata" :r="r" :id="id" />