From e3d9f78200cb0906ca09a2525bb2e576538e614e Mon Sep 17 00:00:00 2001 From: junjie Date: Tue, 2 Nov 2021 12:14:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8C=87=E9=92=88=E5=9B=BE=E5=9B=BE?= =?UTF-8?q?=E4=BE=8B=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/common/common.js | 2 +- frontend/src/views/chart/view/ChartEdit.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/chart/chart/common/common.js b/frontend/src/views/chart/chart/common/common.js index 493926d33d..3945d4f4bf 100644 --- a/frontend/src/views/chart/chart/common/common.js +++ b/frontend/src/views/chart/chart/common/common.js @@ -51,7 +51,7 @@ export function componentStyle(chart_option, chart) { chart_option.legend.orient = customStyle.legend.orient chart_option.legend.icon = customStyle.legend.icon chart_option.legend.textStyle = customStyle.legend.textStyle - if (chart.type === 'treemap') { + if (chart.type === 'treemap' || chart.type === 'gauge') { chart_option.legend.show = false } } diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 8c57a5d51f..fff47ebf69 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -418,7 +418,7 @@ - +