forked from github/dataease
Merge pull request #562 from dataease/pr@dev@feat_限制矩形图指标数量
feat: 限制矩形图指标数量
This commit is contained in:
commit
b79339ce9e
@ -859,7 +859,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (view.type.startsWith('pie') || view.type.startsWith('funnel') || view.type.startsWith('text') || view.type.startsWith('gauge')) {
|
if (view.type.startsWith('pie') ||
|
||||||
|
view.type.startsWith('funnel') ||
|
||||||
|
view.type.startsWith('text') ||
|
||||||
|
view.type.startsWith('gauge') ||
|
||||||
|
view.type === 'treemap') {
|
||||||
if (view.yaxis.length > 1) {
|
if (view.yaxis.length > 1) {
|
||||||
view.yaxis.splice(1, view.yaxis.length)
|
view.yaxis.splice(1, view.yaxis.length)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user