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',