apache / apache/echarts

[Bug] Some lines in the line chart disappear progressively

Open
#19,958 10 comments 0 reactions 0 assignees View on GitHub
bug en topic: line
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.4.3

### Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=line-stack&version=5.4.3

### Steps to Reproduce

Create a chart with more than one serie, a lot of data and this options:
```
type: 'line',
emphasis: {
focus: 'self',
blurScope: 'global'
},
showAllSymbol: true,
```
Then move the mouse over the lines fast to change the highlighted line. After a while the lines start disappearing.

### Current Behavior

The lines begin to fade except when the mouse is over them. When the mouse is not over any lines, they remain blurry.
![image](https://github.com/apache/echarts/assets/169657500/2131ec8e-9ea3-485e-adbc-c508e01efb3e)

### Expected Behavior

The lines should come back when no line is highlighted.
![image](https://github.com/apache/echarts/assets/169657500/0ff71311-7c15-4460-8924-21916574db8a)

### Environment

```markdown
- OS: Window 10
- Browser: Chrome 125.0.6422.60
```

### Any additional comments?

The link does not always produce the error. The next html does:
[line-stack.txt](https://github.com/apache/echarts/files/15376053/line-stack.txt)
I don't know the reason. I think the only difference is data.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.