diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts index 6212518c4e..1c0b5110fb 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts @@ -556,7 +556,8 @@ export function getYAxis(chart: Chart) { grid, label, line, - tickLine + tickLine, + nice: true } return axis } @@ -649,7 +650,8 @@ export function getYAxisExt(chart: Chart) { grid, label, line, - tickLine + tickLine, + nice: true } return axis }