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

未关闭
#21,634 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@100pah 已经在做这个了。

开始于 2026年5月28日。

评估

这个 Issue 还没有评估数据。

描述

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
主要语言
TypeScript
星标
67.7k
派生
19.9k
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/echarts 的其他 Issue

查看 apache/echarts 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。