设置柱状图默认值
This commit is contained in:
@@ -533,6 +533,11 @@ function createEmailColumnChart() {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
|
max: (params) => {
|
||||||
|
if (params.max < 8 ) {
|
||||||
|
return 10
|
||||||
|
}
|
||||||
|
},
|
||||||
type: 'value',
|
type: 'value',
|
||||||
boundaryGap: [0, 0.1],
|
boundaryGap: [0, 0.1],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user