From 96bc233a65fe72f78ba4ce71bf887e46e6cee5ce Mon Sep 17 00:00:00 2001 From: wuyize Date: Thu, 14 Jul 2022 20:51:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=A5=BC=E5=9B=BE=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B8=BA=E9=9B=B6=E6=97=B6=E5=9D=87=E5=88=86=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/echartsPie.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/echartsPie.vue b/src/components/echartsPie.vue index fd2ffa8..b8bdadf 100644 --- a/src/components/echartsPie.vue +++ b/src/components/echartsPie.vue @@ -54,6 +54,7 @@ export default { methods: { // 获取配置 getOption() { + // 指定图表的配置项和数据 let option = { tooltip: { @@ -63,6 +64,7 @@ export default { { name: '统计', type: 'pie', + stillShowZeroSum: false, center: ['45%', '55%'], // radius: ['40%', '70%'], avoidLabelOverlap: false,