[Bug] Axis Pointer for connected charts with null values dosen't sync properly between charts
Version
5.5.0
Link to Minimal Reproduction
https://codepen.io/Sarra-Khazri/pen/GRadZpX
Steps to Reproduce
- 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
- if i hover on chart 1 with x= 22-06-2023 (1 null value) the axis pointer is syncing
from chart2
### Expected Behavior
- The Axis pointer sync between the two charts when there is one series that have value different of null
Environment
- 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.
could be hacked with one additional (invisible) series - Demo. Only the tooltip needs to be customized to exclude the additional series.
@helgasoft thank you for your response and for the demo, i tried the hack and it works perfecty
@helgasoft i have added zoom on y axis and i have this issue 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 . Do you have an idea if it is a bug
what i want to achieve is 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
link to demo https://codepen.io/Sarra-Khazri/pen/LYoKLaM?editors=0010
what i want to achieve is 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
It looks like in this case, the "invisible" series should modify its value to be in the display range.