Commit 67eb37f2 by 匡雅琴

饼图

1 parent 4859d0fd
......@@ -139,7 +139,6 @@ export default {
this.echartsPie.clear()
this.mainValue = 0
this.numDesc = ''
console.log(11111);
this.echartsPie.setOption(this.option)
this.pieActive()
this.mTime = setInterval(this.pieActive, 15000)
......
......@@ -96,17 +96,17 @@ export default {
progressData: [
{
isDelivery: '已发货',
per: '36%',
per: 0.36,
price: 4568
},
{
isDelivery: '未发货',
per: '20%',
per: 0.2,
price: 4568
},
{
isDelivery: '已发货',
per: '36%',
per: 0.44,
price: 4568
}
]
......
<template>
<div>
<!-- <pie-chart :id="chart.id" :list="listData" :keys="chart.keys"></pie-chart> -->
<div id="pie1" style="width: 200px;height:200px;"></div>
<pie-chart :id="chart.id" :list="listData" :keys="chart.keys"></pie-chart>
</div>
</template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!