diff --git a/frontend/src/views/chart/components/shape-attr/LabelSelector.vue b/frontend/src/views/chart/components/shape-attr/LabelSelector.vue index c5059bc83e..3a5acfe09f 100644 --- a/frontend/src/views/chart/components/shape-attr/LabelSelector.vue +++ b/frontend/src/views/chart/components/shape-attr/LabelSelector.vue @@ -152,7 +152,7 @@ export default { initOptions() { const type = this.chart.type if (type) { - if (type.includes('horizontal')) { + if (type.includes('horizontal') || type === 'funnel') { this.labelPosition = this.labelPositionH } else if (type.includes('pie')) { this.labelPosition = this.labelPositionPie diff --git a/frontend/src/views/chart/components/shape-attr/LabelSelectorAntV.vue b/frontend/src/views/chart/components/shape-attr/LabelSelectorAntV.vue index 50d23e7abc..50142634b7 100644 --- a/frontend/src/views/chart/components/shape-attr/LabelSelectorAntV.vue +++ b/frontend/src/views/chart/components/shape-attr/LabelSelectorAntV.vue @@ -130,7 +130,7 @@ export default { initOptions() { const type = this.chart.type if (type) { - if (type.includes('horizontal')) { + if (type.includes('horizontal') || type === 'funnel') { this.labelPosition = this.labelPositionH } else if (type.includes('pie')) { this.labelPosition = this.labelPositionPie