echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] echarts在移动端进行双指缩放时,当放大到最大级别后,手指没有离开屏幕,图表还会自动移动(X轴会平移),导致偏离了缩放区域,预期放大最大后停在目标区域

Open hechangben-arch opened this issue 2 months ago • 1 comments

Version

5.5.1

Link to Minimal Reproduction

https://stackblitz.com/edit/js-mtnyxw

Steps to Reproduce

X轴是时间轴的图表,当数据量很大时,在移动端进行缩放查看,当放大到最大级别后,手指没有离开屏幕,图表还会自动移动(X轴会平移),导致偏离了缩放区域,预期放大最大后停在目标区域

Current Behavior

  1. 在移动端缩放响应过于灵敏,即使手指没怎么动,图表仍然在快速放大和平移
  2. 放大到最大后,图表变成了平移

Expected Behavior

  1. 降低缩放响应灵敏度
  2. 放大到最大后,停止放大,停止平移,保持图表不动

Environment

- OS:Android 14.0
- Browser:114.0.5735.196
- Framework:static web

Any additional comments?

No response

hechangben-arch avatar Dec 09 '25 07:12 hechangben-arch

@hechangben-arch It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Bug] echarts When zooming in with two fingers on the mobile terminal, when zooming in to the maximum level, the finger does not leave the screen, and the chart will automatically move (the X-axis will be translated), causing it to deviate from the zoom area, and it is expected to stop in the target area after zooming in to the maximum

BODY

Version

5.5.1

Link to Minimal Reproduction

https://stackblitz.com/edit/js-mtnyxw

Steps to Reproduce

The X-axis is a timeline chart, when the amount of data is large, zoom on the mobile terminal for viewing, when zoomed in to the maximum level, the finger does not leave the screen, and the chart will automatically move (the X-axis will pan), resulting in deviation from the zoom area, and it is expected to stop in the target area after zooming in to the maximum

Current Behavior

  1. The zoom response on mobile is too responsive, and even if your fingers don't move much, the chart is still zooming in and panning quickly
  2. Once zoomed in to the maximum, the chart becomes panning

Expected Behavior

  1. Reduced scaling response sensitivity
  2. After zooming in to the maximum, stop zooming in, stop panning, and keep the chart still

Environment

- OS:Android 14.0
- Browser:114.0.5735.196
- Framework:static web

Any additional comments?

No response

echarts-bot[bot] avatar Dec 09 '25 07:12 echarts-bot[bot]