From 2e10491c5d4fa29217ceeedbbf4a43359388fa70 Mon Sep 17 00:00:00 2001 From: junjie Date: Thu, 19 Aug 2021 10:46:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=9D=90=E6=A0=87=E8=BD=B4?= =?UTF-8?q?=E5=BC=BA=E5=88=B6=E6=98=BE=E7=A4=BA=E6=9C=80=E5=B0=8F=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/common/common.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/views/chart/chart/common/common.js b/frontend/src/views/chart/chart/common/common.js index e6a4cbdf89..e1e496e758 100644 --- a/frontend/src/views/chart/chart/common/common.js +++ b/frontend/src/views/chart/chart/common/common.js @@ -60,6 +60,7 @@ export function componentStyle(chart_option, chart) { chart_option.xAxis.nameTextStyle = customStyle.xAxis.nameTextStyle chart_option.xAxis.axisLabel.showMaxLabel = true + chart_option.xAxis.axisLabel.showMinLabel = true } if (customStyle.yAxis && (chart.type.includes('bar') || chart.type.includes('line') || chart.type.includes('scatter'))) { chart_option.yAxis.show = customStyle.yAxis.show @@ -70,6 +71,7 @@ export function componentStyle(chart_option, chart) { chart_option.yAxis.nameTextStyle = customStyle.yAxis.nameTextStyle chart_option.xAxis.axisLabel.showMaxLabel = true + chart_option.xAxis.axisLabel.showMinLabel = true } if (customStyle.split && chart.type.includes('radar')) { chart_option.radar.name = customStyle.split.name