I want to select two values through the slider of datazoom in my line chart to filter elsewhere. Since filtering after selecting values takes a relatively long time each time, I cannot directly trigger the event through code below
chart.on('datazoom', (params) => {
})
Because it will be executed many times. I want to trigger an event only after the slider is dragged to the end, that is, after the left mouse button is released. How should I implement this? I'll appreciated much if you could offer any suggestion!