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
{{ message }}
Repository navigation
[Bug] Panning on chart with zoom/scroll bars is jumpy #21265
Zoom in on this chart to around the following range:
X-axis: [-35, 7]
Y-axis: [-82, -130]
Using your cursor click and drag the chart horizontally such that the max displayed value on the x-axis changes from something below 7 to something above 7. (on the canvas! The issue cannot be reproduced when using the zoom/scroll bars)
Current Behavior
The Y-axis jumps to a different range than I originally was zoomed into. On this example chart it is not that much of a jump, but on sometimes the jump can be quite large and even jump outside of the possible Y-axis range! I also see this on custom charts.
Expected Behavior
The panning works the same as if I were to use the scroll bars
not-a-bug.
When using the toolbox zoom, the cursor changes from a hand to a cross and enters zoom-in mode. After the first zoom-in it remains a cross which means you may continue to zoom in, not pan. To disable zoom-in mode, press on the toolbox icon again and the cursor will turn into a hand icon. Then you can pan the zoomed view.
Example - zoom-in around the red point and practice pan.
I'm not using the zoom functionality. I am just panning horizontally and sometimes (not sure what the trigger is) is jumps vertically. I have a screen recording attached that shows the issue around your red dot. All I do with my mouse is click and drag to pan horizontally. So the canvas shouldn't jump vertically.
Zoom is needed first, otherwise pan would not work at all.
I agree that there is a bug 🐛 with inside dataZoom pan. I can confirm the "jumps".
Here is a pre-zoomed (faster loading) chart where the effect is reproducible - Demo.
Yes this is closer to what we are experiencing in our specific set up. With the data points you are looking at jumping completely out of frame. For a few of our use cases, users have to zoom in quite a bit which seems to exacerbate the problem. Thank you for sparing with me and confirming it is indeed a bug in ECharts and not an issue on our side. 🤝
Activity
helgasoft commentedon Sep 15, 2025
not-a-bug.When using the toolbox zoom, the cursor changes from a hand to a cross and enters zoom-in mode. After the first zoom-in it remains a cross which means you may continue to zoom in, not pan. To disable zoom-in mode, press on the toolbox icon again and the cursor will turn into a hand icon. Then you can pan the zoomed view.
Example - zoom-in around the red point and practice pan.
StijnWillemse-Ontoforce commentedon Sep 18, 2025
I'm not using the zoom functionality. I am just panning horizontally and sometimes (not sure what the trigger is) is jumps vertically. I have a screen recording attached that shows the issue around your red dot. All I do with my mouse is click and drag to pan horizontally. So the canvas shouldn't jump vertically.
Screen.Recording.2025-09-18.at.09.08.41.mov
helgasoft commentedon Sep 18, 2025
Zoom is needed first, otherwise pan would not work at all.
I agree that there is a bug 🐛 with inside dataZoom pan. I can confirm the "jumps".
Here is a pre-zoomed (faster loading) chart where the effect is reproducible - Demo.
StijnWillemse-Ontoforce commentedon Sep 19, 2025
Yes this is closer to what we are experiencing in our specific set up. With the data points you are looking at jumping completely out of frame. For a few of our use cases, users have to zoom in quite a bit which seems to exacerbate the problem. Thank you for sparing with me and confirming it is indeed a bug in ECharts and not an issue on our side. 🤝