apache / apache/echarts

[Bug] Axis Pointer for connected charts with null values dosen't sync properly between charts

Open
#20,058 5 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/GRadZpX
### Steps to Reproduce

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

### Current Behavior
**from chart1*
- if i hover on chart 1 with x= 20-06-2023 the axis pointer is syncing https://codepen.io/Sarra-Khazri/pen/GRadZpX
- if i hover on chart 1 with **x= 21-06-2023 the axis pointer not syncing**
![image](https://github.com/apache/echarts/assets/13343628/0fc94d90-8043-4cfa-8fd8-2fe22ed92069)
- if i hover on chart 1 with **x= 22-06-2023 (1 null value) the axis pointer is syncing**
![image](https://github.com/apache/echarts/assets/13343628/8714133a-1a36-4a87-b372-476b572009a8)

**from chart2**
![image](https://github.com/apache/echarts/assets/13343628/adff3115-10a9-40cc-9d11-10c69a178dcf)### Expected Behavior

- The Axis pointer sync between the two charts when there is one series that have value different of null

### Environment

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

### Any additional comments?

it seems like when there is null value in serie the point after that the axis pointer dosent sync.

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.