From 0de207ebed200dffca41b8c974d1394cf328b03e Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 23 九月 2020 09:29:02 +0800
Subject: [PATCH] 2020-09-23

---
 src/menu/components/chart/antv-bar/index.jsx |   34 ++++++++++++++++++++++++++++++++--
 1 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/src/menu/components/chart/antv-bar/index.jsx b/src/menu/components/chart/antv-bar/index.jsx
index 0a3e071..0e9c387 100644
--- a/src/menu/components/chart/antv-bar/index.jsx
+++ b/src/menu/components/chart/antv-bar/index.jsx
@@ -75,7 +75,7 @@
         switchable: false, // 缁勪欢灞炴�� - 鏁版嵁鏄惁鍙垏鎹�
         dataName: dataName,
         subtype: card.subtype,
-        setting: {span: card.floor === 1 ? 12 : 24, height: 400, interType: 'system', name: card.name},
+        setting: {span: 24, height: 400, interType: 'system', name: card.name},
         columns: [],
         scripts: [],
         search: [],
@@ -456,6 +456,31 @@
       })
   
       chart.data(dv.rows)
+
+      // chart.axis(X_axis, {
+      //   label: {
+      //     style: {
+      //       fill: '#ffffff',
+      //     }
+      //   },
+      //   line: {
+      //     style: {
+      //       fill: '#ffffff',
+      //     }
+      //   }
+      // })
+      // chart.axis('value', {
+      //   grid: {
+      //     style: {
+      //       fill: '#ffffff',
+      //     }
+      //   },
+      //   label: {
+      //     style: {
+      //       fill: '#ffffff',
+      //     }
+      //   }
+      // })
   
       chart.scale('value', {
         nice: true
@@ -465,7 +490,12 @@
         chart.legend(false)
       } else {
         chart.legend({
-          position: plot.legend
+          position: plot.legend,
+          // itemName: {
+          //   style: {
+          //     fill: '#ffffff',
+          //   }
+          // }
         })
       }
   

--
Gitblit v1.8.0