-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed
Labels
bugduplicateenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.waiting-for: community
Description
Version
5.3.2
Link to Minimal Reproduction
https://codepen.io/zbkha/pen/yLvoJeE
Steps to Reproduce
When I added the 'zoom' attribute to the element where the chart is located, visually, the chart did zoom, but the mouse was not suspended in the correct position. I'm not sure if it's a bug, but it does cause me a lot of trouble.
Current Behavior
The mouse was not suspended in the correct position.
Expected Behavior
The mouse should be suspended in the correct position but it was not.
Environment
- OS:Windows 10
- Browser:Chrome 101.0.4951.67
- Framework:AlwaysAny additional comments?
给图表所在html元素添加zoom属性后,鼠标放上去会发生偏移,最终问题在添加css后得以解决,但整个过程十分麻烦,Echarts有没有什么api可以自适应zoom属性。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugduplicateenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.waiting-for: community