apache / apache/echarts

[Bug] When datazoom type is inside,mouse rolls will change the value of the tooltip.

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

Description

### Version

5.6.0

### Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=area-simple

### Steps to Reproduce

1. Move the mouse in chart;
2. Tooltip show;
3. Mouse rolling and keep the xAxis unchanged;
4. Tooltip valuse has change.

### Current Behavior

When datazoom type is inside,mouse rolls will change the value of the tooltip.
![Image](https://github.com/user-attachments/assets/a7bd5232-e14e-40df-91cc-53aa3253add2)
![Image](https://github.com/user-attachments/assets/ad553f2b-1688-43f4-83cc-83d67e4ce5b1)

### Expected Behavior

The value of the tooltip remains unchanged.

### Environment

```markdown
- OS: Window 10
- Browser: Chrome 135
- Framework: No
```

### Any additional comments?

_No response_

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.