NichitaD opened a new issue, #20871: URL: https://github.com/apache/echarts/issues/20871
### Version 5.6.0 ### Link to Minimal Reproduction https://codesandbox.io/p/sandbox/large-scale-area-chart-forked-cdmych?file=/index.js:80,20 ### Steps to Reproduce 1. Configure any type of chart with the toolbox enabled 2. Programatically set a new zoom range using dispatchAction({ type: 'dataZoom', ... }) 3. Try clicking on the Zoom Back button in the toolbox ### Current Behavior The zoom back button isn't working after programatically updating the zoom range. ### Expected Behavior Programmatic zoom changes using dispatchAction({ type: "dataZoom" }) should be added to the zoom history. The zoom back button should be enabled and allow stepping back to the previous zoom state, just like when the user manually interacts with the zoom controls.. ### Environment ```markdown - OS: any - Browser: any - Framework: any ``` ### Any additional comments? _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
