From d19045dac070a405e7b4be19c4406536c607608e Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Mon, 27 May 2024 16:06:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E7=80=91=E5=B8=83?= =?UTF-8?q?=E5=9B=BE=E6=B1=87=E6=80=BB=E6=8F=90=E7=A4=BA=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=94=99=E8=AF=AF=20#9318?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/charts/bar/waterfall.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/waterfall.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/waterfall.ts index a584f2d57b..8a301037e1 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/waterfall.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/waterfall.ts @@ -187,7 +187,7 @@ export class Waterfall extends G2PlotChartView { let tmpValue = totalMap[id] let color = 'grey' if (id === yAxis[0].id) { - tmpValue = parseFloat(head.value as unknown as string) + tmpValue = head.data.value color = head.color } const value = valueFormatter(tmpValue, formatter.formatterCfg)