apache / apache/echarts

[Bug] Scatter series on different zlevels re render when not needed

Open
#21,301 1 comment 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

6.0.0

### Link to Minimal Reproduction

https://codepen.io/ddegan/pen/myVOEJV?editors=0011

### Steps to Reproduce

1. Open the provided link
2. Click on one of the scatter points.
3. Observe that the large dataset is re-render

### Current Behavior

Setting a series that is placed on a different zlevel just create a new canvas object but then all the points are re-rendered when the series with a single point is changed

### Expected Behavior

just the changed series with a different zlevel should be rerendered

### Environment

```markdown
- OS: Windows 11 pro
- Browser: Chrome 140.0.7339.208
```

### Any additional comments?

Don't know if I'm doing something wrong or misintrerpreting the zlevel purpose.

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.