From dd79cda761c2a243a24fd53d6c55f023c016e642 Mon Sep 17 00:00:00 2001 From: ulleo Date: Wed, 14 May 2025 17:53:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=A0=86=E5=8F=A0=E6=9D=A1=E5=BD=A2=E5=9B=BE=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E6=95=B0=E5=80=BC=E6=A0=BC=E5=BC=8F=E9=85=8D=E7=BD=AE=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E9=97=AE=E9=A2=98=20#16056?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/js/panel/charts/g2plot/bar/horizontal-bar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2plot/bar/horizontal-bar.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2plot/bar/horizontal-bar.ts index 4496b753f1..bd565dc74f 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2plot/bar/horizontal-bar.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2plot/bar/horizontal-bar.ts @@ -325,7 +325,7 @@ export class HorizontalStackBar extends HorizontalBar { const label = { ...baseOptions.label, formatter: function (data: Datum) { - const value = valueFormatter(data.value, labelAttr.formatter) + const value = valueFormatter(data.value, labelAttr.labelFormatter) const group = new Group({}) group.addShape({ type: 'text',