提交 b6488044 authored 作者: junjun's avatar junjun

refactor: 文本卡仅支持一个维度

上级 159db89a
...@@ -1628,6 +1628,11 @@ export default { ...@@ -1628,6 +1628,11 @@ export default {
} }
} }
}) })
if (view.type === 'label') {
if (view.xaxis.length > 1) {
view.xaxis.splice(1, view.xaxis.length)
}
}
if (view.type.startsWith('pie') || if (view.type.startsWith('pie') ||
view.type.startsWith('funnel') || view.type.startsWith('funnel') ||
view.type.startsWith('text') || view.type.startsWith('text') ||
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论