邓洁 : 修改弹窗缩放

This commit is contained in:
邓洁
2023-12-18 00:33:07 +08:00
parent ecfca1e0a0
commit e8cd871447
4 changed files with 82 additions and 20 deletions

View File

@@ -179,6 +179,18 @@ const initChart = () => {
fontSize: 40
}
},
toolbox: {
show: false,
right: 10,
feature: {
dataZoom: {
yAxisIndex: 'none'
}
}
},
dataZoom: [{
type: 'inside'
}],
//X轴
xAxis: {
type: 'category',
@@ -259,6 +271,18 @@ const initAirChart = () => {
fontSize: 40
}
},
toolbox: {
show: false,
right: 10,
feature: {
dataZoom: {
yAxisIndex: 'none'
}
}
},
dataZoom: [{
type: 'inside'
}],
//X轴
xAxis: {
type: 'category',