diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index f214b41349..6d48edba2e 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -859,7 +859,11 @@ export default { } } }) - if (view.type.startsWith('pie') || view.type.startsWith('funnel') || view.type.startsWith('text') || view.type.startsWith('gauge')) { + if (view.type.startsWith('pie') || + view.type.startsWith('funnel') || + view.type.startsWith('text') || + view.type.startsWith('gauge') || + view.type === 'treemap') { if (view.yaxis.length > 1) { view.yaxis.splice(1, view.yaxis.length) }