apache / apache/echarts

[Bug] Axis Pointer for connected charts is not visible if chart series0 is outside the zoom range

Open
#20,133 4 comments 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

5.5.0

### Link to Minimal Reproduction

https://codepen.io/Sarra-Khazri/pen/LYoKLaM?editors=0010

### Steps to Reproduce

Hover on each points in chart 1 and chart 2 to see the behavior of axis pointer

### Current Behavior

when i zoom on y and the series with zero values are outside the zoom range, the chart's axisPointer will be invisible it is the same issue described https://github.com/apache/echarts/issues/17074
The system seems to only determine whether there is data based on seriesIndex=0. If there are two or more series in the chart, and the series0 data is out of the coordinate system, the series1 data will still not have an axisPointer in the coordinate system,
![image](https://github.com/apache/echarts/assets/13343628/5ad5c66a-055a-4a47-bc87-a017bf5a1437)
![image](https://github.com/apache/echarts/assets/13343628/5d6237d6-6136-4499-b68e-727028786468)

thank you.

### Expected Behavior

I want to have the axis pointer always visible on x axis even there is zoom y on others charts and points are not in zoom range

### Environment

```markdown
OS:windows
- Browser: chrome
- Framework: -
```

### Any additional comments?

The system seems to only determine whether there is data based on seriesIndex=0. If there are two or more series in the chart, and the series0 data is out of the coordinate system, the series1 data will still not have an axisPointer in the coordinate system,

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.