Version
6.1.0
Link to Minimal Reproduction
https://jsfiddle.net/am6xs7bv/
Steps to Reproduce
- It enabled datazoom toolbox multiple times. Echarts 5 wouldn't have this issue.
chart.dispatchAction({
type: 'takeGlobalCursor',
key: 'dataZoomSelect',
dataZoomSelectActive: true,
});
Current Behavior
Click "Enable drag zoom".
Zoom to half of chart.
Click "Restore" button that is part of echarts.
Click "Enable drag zoom".
Zoom to half of chart. Weird wrong zoom.
Expected Behavior
Should zoom correctly second time.
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Version
6.1.0
Link to Minimal Reproduction
https://jsfiddle.net/am6xs7bv/
Steps to Reproduce
chart.dispatchAction({
type: 'takeGlobalCursor',
key: 'dataZoomSelect',
dataZoomSelectActive: true,
});
Current Behavior
Click "Enable drag zoom".
Zoom to half of chart.
Click "Restore" button that is part of echarts.
Click "Enable drag zoom".
Zoom to half of chart. Weird wrong zoom.
Expected Behavior
Should zoom correctly second time.
Environment
Any additional comments?
No response