From bcf70b9cd5d99b3d5f3d5df6c2c79152cd126172 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Wed, 3 Jul 2024 11:46:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E7=9B=98=E6=A0=87=E7=AD=BE=E5=AD=97=E4=BD=93=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/charts/others/gauge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/others/gauge.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/others/gauge.ts index e5242809a4..35cd34b235 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/others/gauge.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/others/gauge.ts @@ -236,7 +236,7 @@ export class Gauge extends G2PlotChartView { if (label.show) { labelContent = { style: { - fontSize: `${label.fontSize}`, + fontSize: `${label.fontSize}px`, color: label.color }, formatter: function () {