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)