From 568d7578f92ff5a1ddcabb539e061ec74973b39c Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 04 一月 2024 13:10:41 +0800
Subject: [PATCH] 1.系统首页去除人名显示

---
 src/utils/myEcharts.js |   42 +++++++++++++++++++++---------------------
 1 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/src/utils/myEcharts.js b/src/utils/myEcharts.js
index fb432ba..d577d03 100644
--- a/src/utils/myEcharts.js
+++ b/src/utils/myEcharts.js
@@ -131,21 +131,21 @@
   var option = {
     backgroundColor: 'transparent',
     grid: {
-      left: '2%',
+      left: '5%',
       right: '5%',
       bottom: '0%',
       top: '2%',
       containLabel: true
     },
-    tooltip: {
-      trigger: 'axis',
-      axisPointer: {
-        type: 'none'
-      },
-      formatter: function(params) {
-        return params[0].name + ' : ' + params[0].value
-      }
-    },
+    // tooltip: {
+    //   trigger: 'axis',
+    //   axisPointer: {
+    //     type: 'none'
+    //   },
+    //   formatter: function(params) {
+    //     return params[0].name + ' : ' + params[0].value
+    //   }
+    // },
     xAxis: {
       show: true,
       type: 'value',
@@ -169,7 +169,7 @@
       type: 'category',
       inverse: true,
       axisLabel: {
-        show: true,
+        show: false,
         textStyle: {
           color: '#000'
         }
@@ -266,16 +266,16 @@
 
   const option = {
     backgroundColor: 'transparent',
-    tooltip: {
-      trigger: 'axis',
-      axisPointer: {
-        // type: 'shadow',
-        label: {
-          show: true,
-          backgroundColor: '#000'
-        }
-      }
-    },
+    // tooltip: {
+    //   trigger: 'axis',
+    //   axisPointer: {
+    //     // type: 'shadow',
+    //     label: {
+    //       show: true,
+    //       backgroundColor: '#000'
+    //     }
+    //   }
+    // },
     grid: {
       left: '2%',
       right: '5%',

--
Gitblit v1.9.3