[Bug] Restore feature not properly resetting zoom feature
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- typescript
- Lĩnh vực
- data-visualization
Hướng nghiên cứu
Tái hiện hồi quy trong ví dụ line-aqi chính thức của ECharts bằng các nút Zoom và Restore của toolbox, đồng thời so sánh hành vi với ECharts 6.0.0. Kiểm tra tương tác Zoom/Restore và hành vi của listener datazoom; hoàn tất nghĩa là Restore đặt lại biểu đồ, trạng thái toolbox và biểu tượng chuột, đồng thời các lần restore lặp lại không tích lũy output của datazoom.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Version
6.1.0
Link to Minimal Reproduction
All echarts official example demos with Zoom/Zoom Reset and Restore toolbox buttons, e.g: https://echarts.apache.org/examples/en/editor.html?c=line-aqi
Steps to Reproduce
- Run any echarts example demo that has Zoom/Zoom Reset and Restore toolbox buttons
-- for example: https://echarts.apache.org/examples/en/editor.html?c=line-aqi - Move the mouse over the chart
-- Mouse icon will NOT display the zoom icon ("+")
-- good - Click on the Zoom toolbox button and then move the mouse over the chart
-- The Mouse icon will change to "+" the zoom icon
-- good - Click and drag the mouse on the chart
-- The chart will zoom in
-- good - Click the Restore toolbox button
-- Both the chartand the toolbox buttons/icons will reset
-- good - Move your mouse over the chart
-- Mouse icon is the "+" zoom icon
-- bad
Current Behavior
The Restore toolbox button fails to fully restore when the Zoom button is pressed followed by pressing the Restore toolbox button
See the video listed below
https://github.com/user-attachments/assets/675eb9c7-339b-4f4c-86f4-8bd05ae9e6d1
Expected Behavior
After pressing the Restore toolbox button, the chart and the toolbox buttons and the mouse icon are all restored to the original defaults
Environment
- OS: N/A
- Browser: N/A
- Framework: N/A
This issue can be reduced with Echarts Demo Examples. The issue is independent of my development environment or the browser used in testing.
Any additional comments?
This is a regression in ECharts 6.1.0. The restore feature worked properly in ECharts 6.0.0.
In addition, if you add a listener for the zoom action:
myChart.on('datazoom', (params) => {
console.log("data zoom params", params);
})
You can see that the restore button is not properly resetting zoom.
The video listed below shows the following:
1). Adding the zoom listener to the official echarts example demo
2) Repeating the following steps
-- click the zoom button, zoom in using the mouse, click the restore
3). Every time 2) is repeated, the zoom listener results in an incremental increase of multiple console output
https://github.com/user-attachments/assets/bcc7b260-a3bf-4187-be1b-cdfaf9442998
- Ngôn ngữ chính
- TypeScript
- Star
- 67.7k
- Fork
- 19.9k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/echarts
-
[Bug] String formatter templates only replace the first occurrence of `{a}`/`{b}`/`{c}`Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởen pending
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
-
[Bug] Inverse axis collapses the grid with outerBoundsContain when a tick is near the axis edgeCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởen pending
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
en pending
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
en pending
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
[Bug] The zoom cursor in the toolbox area is incorrectCó thể đã có người làm @waterWang đã nhận 98 ngày trước. Đang mởbug en pending
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Tất cả issue của apache/echarts
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
pollen-robotics/reachy-mini-desktop-app#341 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
mike-north/AgentMonitors#648 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Position: a popup placed again from between two layout steps lands a fraction of a pixel offĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
vercel-labs/ui#700 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 2 ngày