From 99134da2a0c8eee1f6f2ef96651f50dd26eae8c9 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 15 十一月 2022 17:52:36 +0800
Subject: [PATCH] 2022-11-15

---
 src/tabviews/custom/components/chart/antv-bar-line/index.jsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/chart/antv-bar-line/index.jsx b/src/tabviews/custom/components/chart/antv-bar-line/index.jsx
index 151e4e6..2e1943a 100644
--- a/src/tabviews/custom/components/chart/antv-bar-line/index.jsx
+++ b/src/tabviews/custom/components/chart/antv-bar-line/index.jsx
@@ -110,7 +110,11 @@
 
     _config.plot.height = Utils.getHeight(_config.plot.height)
     _config.style.height = 'auto'
-    _config.style.minHeight = _config.plot.height
+    _config.style.minHeight = _config.plot.height + 30
+
+    if (_config.plot.title) {
+      _config.style.minHeight = _config.style.minHeight + 45
+    }
 
     let transfield = {}
     _config.columns.forEach(col => {

--
Gitblit v1.8.0