[Bug] ECharts 6.1.0 canvas dirty-rect repaint corrupts dense line series on tooltip axis-pointer hover

Đang mở
#21,634 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@100pah đang làm issue này rồi.

Từ ngày 28/5/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug en pending regression
Version

6.1.0

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/tender-merkle-ymcjr9?file=%2Fsrc%2Findex.js%3A4%2C51

Steps to Reproduce

Steps to Reproduce

Open the ECharts examples editor: https://echarts.apache.org/examples/en/editor.html
Paste the minimal reproduction snippet.
Ensure the page is running ECharts 6.1.0.
Keep useDirtyRect: true.
Hover/move the mouse across the chart so the tooltip axis pointer updates.

Current Behavior

When hovering the chart, parts of the dense line series visually disappear or render as broken/dashed segments. The underlying data is still present, and the tooltip continues to resolve values, but the canvas repaint appears corrupted around axis-pointer updates.

The issue disappears when either:

useDirtyRect is set to false
the tooltip axis pointer is disabled

Expected Behavior

Hovering should only update the tooltip and axis pointer. The line series should remain visually continuous and unchanged while the pointer moves.

Environment
- OS: OSX
- Browser: ALL
- Framework: ANgular
Any additional comments?

This appears to be a regression in ECharts 6.1.0. The same chart behavior worked with ECharts 6.0.0.

The affected setup uses:

canvas renderer
useDirtyRect: true
dense line series
showSymbol: false
progressive rendering
visualMap piecewise coloring
tooltip with trigger: 'axis'
tooltip axisPointer.type: 'line'
For our app, disabling dirty rect hurts performance, and disabling the axis pointer removes useful chart feedback, so neither is a good long-term workaround.

Image
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/echarts

Tất cả issue của apache/echarts

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.