fix(视图): 修复图表类型切换逻辑

This commit is contained in:
junjie 2021-11-23 17:01:50 +08:00
parent a1ce567d7f
commit 7eede3430e

View File

@ -934,6 +934,9 @@ export default {
if (view.type === 'line-stack' && trigger === 'chart') {
view.customAttr.size.lineArea = true
}
if (view.type === 'line' && trigger === 'chart') {
view.customAttr.size.lineArea = false
}
if (view.type === 'treemap' && trigger === 'chart') {
view.customAttr.label.show = true
}