This use case illustrates the use of the timeline slider.
You can add the timeline slider with the dataZoom
option:
dataZoom: [
{
type: 'inside',
},
{
type: 'slider',
},
],
You can also configure the toolbox to switch between zoom and slider with the toolbox
option:
toolbox: {
feature: {
dataZoom: {},
restore: {},
},
},
Refer to the online Apache ECharts documentation for more detail on dataZoom and on toolbox configurations