From feaf0a9778879ef211c5587a513ba4cbdabb52d0 Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期四, 23 六月 2022 17:42:58 +0800
Subject: [PATCH] bug修复

---
 src/pages/visual/components/eCharts/pie.vue |   29 +++++++++++++++--------------
 1 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/src/pages/visual/components/eCharts/pie.vue b/src/pages/visual/components/eCharts/pie.vue
index 60f96da..3f5c154 100644
--- a/src/pages/visual/components/eCharts/pie.vue
+++ b/src/pages/visual/components/eCharts/pie.vue
@@ -52,27 +52,28 @@
           formatter: "{a} <br/>{b}: {c} ({d}%)"
         },
         legend: {
-          show: false,
-          // type:"scroll",
-          // orient: "horizontal",
-          // left: '10px',
-          // right: '10px',
-          // top: '35px',
-          // align: 'auto',
-          // textStyle: {
-          //   color: 'rgba(136,136,136,.6)'
-          // },
-          // pageTextStyle:{
-          //   color: 'rgba(136,136,136,.6)'
-          // }
+          //show: false,
+          type:"scroll",
+          orient: "horizontal",
+          left: '10px',
+          right: '10px',
+          top: '35px',
+          align: 'auto',
+          textStyle: {
+            color: 'rgba(136,136,136,.6)'
+          },
+          pageTextStyle:{
+            color: 'rgba(136,136,136,.6)'
+          }
         },
         series: [
           {
             name: this.seriesName,
+            fontSize: 14,
             type: "pie",
             radius: this.radiusType,
             top: 40,
-            height: "68%",
+            height: "90%",
             // labelLine: {
             //   length: 15
             // },

--
Gitblit v1.8.0