From 77f9937b32f67f5b7d5476b0a1db19956702c0c8 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期二, 10 十月 2023 09:45:34 +0800
Subject: [PATCH] 代码更新

---
 src/components/BarGraph.vue |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/src/components/BarGraph.vue b/src/components/BarGraph.vue
index b8e0c2d..1dfad68 100644
--- a/src/components/BarGraph.vue
+++ b/src/components/BarGraph.vue
@@ -2,7 +2,10 @@
   <div class="title">
     {{ layerData.layerName }}
   </div>
-  <div id="myEcharts" :style="{ width: width, height: height }"></div>
+  <div
+    id="myEcharts"
+    :style="{ width: width, height: height }"
+  ></div>
 </template>
 <script lang="ts" setup>
 import {
@@ -136,15 +139,15 @@
       name: "绫筹紙m锛�",
       type: "category",
       data: xAxisData.value,
-      show: false, // 涓嶆樉绀哄潗鏍囪酱绾裤�佸潗鏍囪酱鍒诲害绾垮拰鍧愭爣杞翠笂鐨勬枃瀛�
+      show: true, // 涓嶆樉绀哄潗鏍囪酱绾裤�佸潗鏍囪酱鍒诲害绾垮拰鍧愭爣杞翠笂鐨勬枃瀛�
       axisTick: {
-        show: false, // 涓嶆樉绀哄潗鏍囪酱鍒诲害绾�
+        show: true, // 涓嶆樉绀哄潗鏍囪酱鍒诲害绾�
       },
       axisLine: {
-        show: false, // 涓嶆樉绀哄潗鏍囪酱绾�
+        show: true, // 涓嶆樉绀哄潗鏍囪酱绾�
       },
       axisLabel: {
-        show: false, // 涓嶆樉绀哄潗鏍囪酱涓婄殑鏂囧瓧
+        show: true, // 涓嶆樉绀哄潗鏍囪酱涓婄殑鏂囧瓧
         showMinLabel: true, // 寮哄埗鏄剧ず鏈�灏忓�兼爣绛�
         showMaxLabel: true, // 寮哄埗鏄剧ず鏈�澶у�兼爣绛�
       },
@@ -164,18 +167,18 @@
     },
     yAxis: {
       type: "value",
-      show: false, // 涓嶆樉绀哄潗鏍囪酱绾裤�佸潗鏍囪酱鍒诲害绾垮拰鍧愭爣杞翠笂鐨勬枃瀛�
+      show: true, // 涓嶆樉绀哄潗鏍囪酱绾裤�佸潗鏍囪酱鍒诲害绾垮拰鍧愭爣杞翠笂鐨勬枃瀛�
       axisTick: {
-        show: false, // 涓嶆樉绀哄潗鏍囪酱鍒诲害绾�
+        show: true, // 涓嶆樉绀哄潗鏍囪酱鍒诲害绾�
       },
       axisLine: {
-        show: false, // 涓嶆樉绀哄潗鏍囪酱绾�
+        show: true, // 涓嶆樉绀哄潗鏍囪酱绾�
       },
       axisLabel: {
-        show: false, // 涓嶆樉绀哄潗鏍囪酱涓婄殑鏂囧瓧
+        show: true, // 涓嶆樉绀哄潗鏍囪酱涓婄殑鏂囧瓧
       },
       splitLine: {
-        show: false, // 涓嶆樉绀虹綉鏍肩嚎
+        show: true, // 涓嶆樉绀虹綉鏍肩嚎
       },
     },
     series: seriesData.value,

--
Gitblit v1.9.3