修改dataZoom结束函数

This commit is contained in:
熊丽君
2021-12-22 15:44:33 +08:00
parent c602a3c067
commit d1e3c698fa
2 changed files with 24 additions and 4 deletions

View File

@ -508,7 +508,14 @@ export default {
top: 50,
bottom: 50,
},
dataZoom: {},
dataZoom: {
type: 'slider',
start: 0,
end: this.dataZoomEnd(month.length, 5),
textStyle: {
color: '#fff',
},
},
series: [
{
name: '数量',
@ -641,7 +648,10 @@ export default {
dataZoom: {
type: 'slider',
start: 0,
end: 50,
end: this.dataZoomEnd(deptName.length, 5),
textStyle: {
color: '#fff',
},
},
color: ['#ccc', 'red'],
yAxis: [