diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 83d02e9891..a27e6b4191 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -1628,6 +1628,11 @@ export default { } } }) + if (view.type === 'label') { + if (view.xaxis.length > 1) { + view.xaxis.splice(1, view.xaxis.length) + } + } if (view.type.startsWith('pie') || view.type.startsWith('funnel') || view.type.startsWith('text') ||