What if the control bar of echars zooms in and out overlaps the X axis? The container is overflow:hidden.-20 will hide.

grid: {

         y2: "200px"
        },
        dataZoom: [
            //
            {
                type: "slider",
                start: 0,
                end: 100,
                bottom:"-20px"
            },
            //
            {
                type: "inside",
                realtime: true,
                start: 0,
                end: 100
            }
        ],
        
Mar.24,2022

read more documents

//400
grid:{
    top: 20,
    bottom: 340
},
dataZoom : [{
    type: 'slider',
    y: 370,//
    height: 20
},{
    type: 'inside'
}]
Menu