单个y轴
dataZoom: [
{
type: 'slider',
show: true,
yAxisIndex: [0],
left: '93%',
start: 0, //数据窗口范围的起始百分比
end: 36
},
{
type: 'inside',
yAxisIndex: [0],
start: 0,
end: 36
}
]
单个x轴
dataZoom: [
{
type: "slider",
show: true, // flase直接隐藏图形
xAxisIndex: [0],
left: "9%", // 滚动条靠左侧的百分比
bottom: -5,
start: 10, // 滚动条的起始位置(10%)
end: 90, // 滚动条的终止位置(90%)
},
],