You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure any type of chart with the toolbox enabled
Programatically set a new zoom range using dispatchAction({ type: 'dataZoom', ... })
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
- OS: any
- Browser: any
- Framework: any
Any additional comments?
No response
The text was updated successfully, but these errors were encountered:
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
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
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: