forked from github/dataease
feat: 隐藏对称柱状图的纵轴名称设置
This commit is contained in:
parent
e37026158f
commit
8f00d8678c
@ -1602,7 +1602,6 @@ export const TYPE_CONFIGS = [
|
|||||||
'x-axis-selector-ant-v': [
|
'x-axis-selector-ant-v': [
|
||||||
'show',
|
'show',
|
||||||
'position',
|
'position',
|
||||||
'nameTextStyle',
|
|
||||||
'splitLine',
|
'splitLine',
|
||||||
'axisForm',
|
'axisForm',
|
||||||
'axisLabel'
|
'axisLabel'
|
||||||
|
@ -2160,6 +2160,10 @@ export default {
|
|||||||
type: 'warning'
|
type: 'warning'
|
||||||
})
|
})
|
||||||
this.view.xaxis = []
|
this.view.xaxis = []
|
||||||
|
} else if (newVal.type === 'bidirectional-bar') {
|
||||||
|
if (this.view.customStyle && this.view.customStyle.xAxis && this.view.customStyle.xAxis.name) {
|
||||||
|
this.view.customStyle.xAxis.name = undefined
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (newVal.type !== oldVal.type) {
|
if (newVal.type !== oldVal.type) {
|
||||||
this.view.senior.threshold = {}
|
this.view.senior.threshold = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user