How to solve the problem that echarts uses dataZoom, to overflow to the left when there is a large amount of data?


type:"slider" xAxisIndex: [0]hide inside
http://www.echartsjs.com/gall...
clipboard.png

Mar.28,2021

it is recommended to paste the configuration code. You can refer to the official example
dataZoom official example


{
    type: 'inside',
    filterMode: 'empty',
    maxValueSpan: 6,
    minValueSpan:4,
    start:0,
    end:35
}

filterMode:'empty' / / data outside the current data window, set to empty. That is, the data range of other axes will not be affected. Overflow Hidden
start/end setting data display range adjusted to just the right ratio

Menu