From 21ddc9ec1b1b76d2ce20e512328e65acaf1af2bf Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期一, 16 一月 2023 10:35:15 +0800
Subject: [PATCH] 廊坊代码更新

---
 src/components/echart43.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/components/echart43.vue b/src/components/echart43.vue
index 7aa3926..b87af7f 100644
--- a/src/components/echart43.vue
+++ b/src/components/echart43.vue
@@ -8,7 +8,7 @@
 export default {
   data() {
     //杩欓噷瀛樻斁鏁版嵁
-    return { myChart };
+    return { myChart: null, };
   },
   //鏂规硶闆嗗悎
   methods: {
@@ -131,6 +131,7 @@
         title: {
           // show: false,
           text: '浜哄憳鍙樺姩',
+          top: 15,
           // x: "4%",
           textStyle: {
             color: '#fff',
@@ -169,10 +170,10 @@
               fontSize: 12,
             },
           },
-          radius: 120,
+          radius: 75,
           nameGap: 2, // 鍥句腑宸ヨ壓绛夊瓧璺濈鍥剧殑璺濈
           splitNumber: 4, // 缃戞牸绾跨殑涓暟
-          // center: ["45%", "45%"], // 鍥剧殑浣嶇疆
+          center: ["50%", "63%"], // 鍥剧殑浣嶇疆
 
           indicator: indicator,
           splitArea: {
@@ -225,10 +226,12 @@
 //@import url(); 寮曞叆鍏叡css绫�
 .systemMonitoring_box {
   padding: 20px;
+  width: 100%;
+  height: 100%;
 
   #echart43 {
-    width: 100%;
-    height: 100%;
+    width: calc(100% - 40px);
+    height: calc(100% - 40px);
   }
 }
 </style>

--
Gitblit v1.9.3