feat: 支持ECharts排序柱状图插件 graphic字体颜色与大小修改

This commit is contained in:
ulleo 2023-08-17 16:17:35 +08:00
parent fb6ca8accd
commit e616459e25
2 changed files with 4 additions and 1 deletions

View File

@ -130,6 +130,9 @@ export const customAttrTrans = {
}, },
'slider': [ 'slider': [
'fontSize' 'fontSize'
],
'graphic': [
'fontSize'
] ]
} }
export const customStyleTrans = { export const customStyleTrans = {

View File

@ -1955,7 +1955,7 @@ export default {
return this.$store.state.panel.panelInfo return this.$store.state.panel.panelInfo
}, },
showCfg() { showCfg() {
return includesAny(this.view.type, 'bar', 'line', 'area', 'gauge', 'table') || return includesAny(this.view.type, 'bar', 'line', 'area', 'gauge', 'table') && this.view.type !== 'race-bar' ||
equalsAny(this.view.type, 'text', 'label', 'map', 'buddle-map') equalsAny(this.view.type, 'text', 'label', 'map', 'buddle-map')
}, },
showSeniorCfg() { showSeniorCfg() {