forked from github/dataease
feat: 组合图默认第一个指标为柱状图,第二个指标为折线图
This commit is contained in:
parent
a9c596458b
commit
9920be094b
@ -2546,7 +2546,7 @@ export default {
|
||||
if (equalsAny(view.type, 'chart-mix', 'bidirectional-bar')) {
|
||||
view.yaxisExt.forEach(function(ele) {
|
||||
if (!ele.chartType) {
|
||||
ele.chartType = 'bar'
|
||||
ele.chartType = view.type === 'chart-mix' ? 'line' : 'bar'
|
||||
}
|
||||
if (ele.chartId) {
|
||||
ele.summary = ''
|
||||
|
Loading…
Reference in New Issue
Block a user