dataZoom = {
show: true, // 为true 滚动条出现
realtime: true,
type: 'slider', // 有type这个属性,滚动条在最下面,也可以不行,写y:36,这表示距离顶端36px,一般就是在图上面。
height: 10, // 表示滚动条的高度,也就是粗细
start: 0, // 表示默认展示0%~80%这一段。
end: 80,
backgroundColor: 'transparent',
bottom: 10,
textStyle: {
color: 'transparent'
}
}
dataZoom 是在option下面,也就是和series是同层级的