设置柱状图默认值

This commit is contained in:
eoao
2025-06-17 09:23:00 +08:00
parent b6142483ed
commit bb6440b387

View File

@@ -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],
}, },