From 4378041c7480b1ff7da6df98c6e79592aeaa1e41 Mon Sep 17 00:00:00 2001 From: wisonic Date: Thu, 15 Jan 2026 22:06:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=AD=90=E5=BC=B9=E5=9B=BE=E6=8F=90=E7=A4=BA=E5=8C=BA=E9=97=B4?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/components/js/panel/charts/bar/bullet-graph.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bullet-graph.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bullet-graph.ts index e5f8712e3d..faa1dd3ae1 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bullet-graph.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bullet-graph.ts @@ -394,9 +394,11 @@ export class BulletGraph extends G2PlotChartView { } }) const ranges = data.ranges + const rangeFormatterCfg = + formatterMap['ranges']?.formatterCfg ?? rangeFormatter?.formatterCfg ranges.forEach((range, index) => { const value = isDynamic - ? valueFormatter(parseFloat(data.minRanges[0]), rangeFormatter.formatterCfg) + ? valueFormatter(parseFloat(data.minRanges[0]), rangeFormatterCfg) : (range as string) let name = '' let color: string | string[]