From 961bdd276c657deed774d0298442ad6382df8bfe Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Wed, 12 Dec 2018 15:14:08 +0800 Subject: [PATCH] 道闸 --- src/components/halfPieChart.vue | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/halfPieChart.vue b/src/components/halfPieChart.vue index f2befa1..7508d10 100644 --- a/src/components/halfPieChart.vue +++ b/src/components/halfPieChart.vue @@ -21,7 +21,7 @@ export default { }, height: { type: String, - default: '135px' + default: '100%' }, autoResize: { type: Boolean, @@ -34,8 +34,7 @@ export default { }, data() { return { - chart: null, - sidebarElm: null + chart: null } }, watch: { @@ -77,8 +76,9 @@ export default { { name: '半径模式', type: 'pie', - radius: ['75%', '90%'], + radius: ['60%', '75%'], center: ['50%', '50%'], + hoverAnimation:false, label: { show: false }, @@ -123,10 +123,7 @@ export default { ], animationType: 'scale', - animationEasing: 'elasticOut', - animationDelay: function(idx) { - return Math.random() * 200; - } + animationEasing: 'elasticOut' } ] -- libgit2 0.21.4