diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index f8294724a7..798925d287 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -470,6 +470,12 @@ const addAxis = (e, axis: AxisType) => { emitter.emit('removeAxis', { axisType: 'yAxis', axis, editType: 'remove' }) } } + if (view.value.type === 'indicator') { + if (view.value?.yAxis?.length > 1) { + const axis = view.value.yAxis.splice(1) + emitter.emit('removeAxis', { axisType: 'yAxis', axis, editType: 'remove' }) + } + } } const addXaxis = e => {