From 6830aad220f6b8f263b2e64eaaae56a6ad785afd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 06 十二月 2023 10:18:06 +0800 Subject: [PATCH] 2023-12-06 --- src/menu/components/chart/antv-bar/index.jsx | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/menu/components/chart/antv-bar/index.jsx b/src/menu/components/chart/antv-bar/index.jsx index 717559d..8074b88 100644 --- a/src/menu/components/chart/antv-bar/index.jsx +++ b/src/menu/components/chart/antv-bar/index.jsx @@ -1353,6 +1353,10 @@ }) } + if (card.plot.barcolors && (card.plot.enabled === 'true' || card.plot.datatype === 'statistics')) { + card.plot.barcolors = null + } + this.updateComponent(card) } -- Gitblit v1.8.0