diff --git a/core/core-frontend/src/views/chart/components/js/formatter.ts b/core/core-frontend/src/views/chart/components/js/formatter.ts index d663814ccb..729407f5e0 100644 --- a/core/core-frontend/src/views/chart/components/js/formatter.ts +++ b/core/core-frontend/src/views/chart/components/js/formatter.ts @@ -292,6 +292,9 @@ export const formatterViewInfo = (viewInfo, value) => { viewInfo['customAttr']['label']['quotaLabelFormatter'], value ) + viewInfo['customAttr']['label']['seriesLabelFormatter'].forEach(function (item) { + item['formatterCfg'] = merge(item['formatterCfg'], value) + }) viewInfo['customAttr']['label']['totalFormatter'] = merge( viewInfo['customAttr']['label']['totalFormatter'], value