From 93c0e388bc3fe955c223e1b23a1f4257b1d60d11 Mon Sep 17 00:00:00 2001
From: 王旭 <1377869194@qq.com>
Date: 星期二, 09 五月 2023 09:34:56 +0800
Subject: [PATCH] 适配提交

---
 src/components/chart/ServiceType.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/components/chart/ServiceType.vue b/src/components/chart/ServiceType.vue
index fb74e71..bd6b30f 100644
--- a/src/components/chart/ServiceType.vue
+++ b/src/components/chart/ServiceType.vue
@@ -128,7 +128,7 @@
             fontWeight: 400,
             fontFamily: "YouSheBiaoTiHei",
           },
-          x: "20%",
+          x: "center",
           y: "40%",
         },
         // tooltip: {
@@ -139,9 +139,9 @@
         legend: {
           data: dataPie,
           icon: "vertical",
-          right: "1%",
-          top: "2%",
-          orient: "vertical",
+          left: "2%",
+          top: "1%",
+          orient: "horizontal",
           itemGap: 5,
           itemWidth: 12,
           itemHeight: 3,
@@ -165,7 +165,7 @@
           left: "1%", // 涓庡鍣ㄥ乏渚х殑璺濈
           right: "1%", // 涓庡鍣ㄥ彸渚х殑璺濈
           top: "1%", // 涓庡鍣ㄩ《閮ㄧ殑璺濈
-          bottom: "5%", // 涓庡鍣ㄥ簳閮ㄧ殑璺濈
+          bottom: "1%", // 涓庡鍣ㄥ簳閮ㄧ殑璺濈
           containLabel: true
         },
         series: [
@@ -174,7 +174,7 @@
             type: "pie",
             clockWise: false, //椤烘椂鍔犺浇
             hoverAnimation: false, //榧犳爣绉诲叆鍙樺ぇ
-            center: ["30%", "50%"],
+            center: ["50%", "51%"],
             radius: ["60%", "65%"],
             tooltip: {
               show: false,
@@ -191,7 +191,7 @@
             type: "pie",
             color: "#5F6D86",
             selectedMode: "single",
-            center: ["30%", "50%"],
+            center: ["50%", "51%"],
             radius: ["73%", "74%"],
             hoverAnimation: false,
             label: {

--
Gitblit v1.9.3