apache / apache/echarts

[Bug] When I click on the legend to switch the display of the line, the showTip triggered by dispatchAction will not display

Open
#20,902 5 comments 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

https://echarts.apache.org/en/js/vendors/echarts/dist/echarts.min.js

### Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/basic-line-chart-forked-8frt7c?file=%2Findex.html%3A10%2C16-10%2C84

### Steps to Reproduce

Click on the legend above the chart and select the largest one (Email) to trigger changes in the y-axis data

### Current Behavior

Afterwards, you will find that the tooltip, which was originally displayed normally, cannot appear at a certain data point

### Expected Behavior

I hope the changes in the y-axis data can make the tooltip display normally

### Environment

```markdown
- OS: macOS Sonoma 14.1.1 (23B81)
- Browser: Chrome 134.0.6998.166
```

### 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.