From 2496a0da8fb351be60d487646544c6f136240f7c Mon Sep 17 00:00:00 2001 From: wisonic-s <51065359+wisonic-s@users.noreply.github.com> Date: Fri, 30 May 2025 14:53:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E6=95=A3=E7=82=B9?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E7=AD=BE=E6=A0=BC=E5=BC=8F=E5=8C=96=E5=A4=B1?= =?UTF-8?q?=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chart/components/js/panel/charts/others/scatter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/others/scatter.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/others/scatter.ts index f81ca2d276..7f144f2538 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/others/scatter.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/others/scatter.ts @@ -300,7 +300,7 @@ export class Scatter extends G2PlotChartView { const label = { ...tmpOption.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',