diff --git a/frontend/src/views/chart/chart/common/common_antv.js b/frontend/src/views/chart/chart/common/common_antv.js
index 69a69be62d..e4635f9735 100644
--- a/frontend/src/views/chart/chart/common/common_antv.js
+++ b/frontend/src/views/chart/chart/common/common_antv.js
@@ -430,14 +430,18 @@ export function getYAxis(chart) {
fontSize: parseInt(a.axisLabel.fontSize)
},
formatter: function(value) {
- if (!chart.type.includes('horizontal')) {
- if (!a.axisLabelFormatter) {
- return valueFormatter(value, formatterItem)
- } else {
- return valueFormatter(value, a.axisLabelFormatter)
- }
- } else {
+ if (chart.type === 'waterfall') {
return value
+ } else {
+ if (!chart.type.includes('horizontal')) {
+ if (!a.axisLabelFormatter) {
+ return valueFormatter(value, formatterItem)
+ } else {
+ return valueFormatter(value, a.axisLabelFormatter)
+ }
+ } else {
+ return value
+ }
}
}
} : null
diff --git a/frontend/src/views/chart/components/component-style/YAxisExtSelectorAntV.vue b/frontend/src/views/chart/components/component-style/YAxisExtSelectorAntV.vue
index 6ef6a3c605..b02a5f86a1 100644
--- a/frontend/src/views/chart/components/component-style/YAxisExtSelectorAntV.vue
+++ b/frontend/src/views/chart/components/component-style/YAxisExtSelectorAntV.vue
@@ -93,7 +93,7 @@
-
+
diff --git a/frontend/src/views/chart/components/component-style/YAxisSelectorAntV.vue b/frontend/src/views/chart/components/component-style/YAxisSelectorAntV.vue
index 9c1e2d9e64..74d3334b0b 100644
--- a/frontend/src/views/chart/components/component-style/YAxisSelectorAntV.vue
+++ b/frontend/src/views/chart/components/component-style/YAxisSelectorAntV.vue
@@ -64,7 +64,7 @@
-
+
{{ $t('chart.axis_show') }}
@@ -93,7 +93,7 @@
-
+