You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "HYT0110 (via GitHub)" <gi...@apache.org> on 2025/12/08 02:54:21 UTC
[I] [Bug] ECharts connect() does not link the last data point across connected charts [echarts]
HYT0110 opened a new issue, #21414:
URL: https://github.com/apache/echarts/issues/21414
### Version
5.4.2
### Link to Minimal Reproduction
Please refer to the images in the description.
### Steps to Reproduce
I am using ECharts echarts.connect() to link tooltip and axisPointer interactions across four charts (Chart 1, Chart 2, Chart 3, and Chart 4).
All charts share the same timestamp-based x-axis data, and all charts are assigned to the same group.
In general, the connected charts work as expected.
However, there is a consistent issue where the last data point on Chart 3 or Chart 4 does not link to Chart 1 and Chart 2.
<img width="888" height="225" alt="Image" src="https://github.com/user-attachments/assets/673a35fd-812a-48bb-bf23-f641d54cd781" />
### Current Behavior
**Observed Behavior**
Chart 1/2 → Chart 3/4: the last data point links correctly
<img width="886" height="227" alt="Image" src="https://github.com/user-attachments/assets/f999bc39-f0c7-4979-86fb-468d9d334e87" />
Chart 3/4 → Chart 1/2: the last data point does NOT link
<img width="892" height="225" alt="Image" src="https://github.com/user-attachments/assets/ee31abad-8404-4555-bb1e-873590b28876" />
All other data points link normally
This behavior occurs only on the last data point and only for specific charts (typically Chart 3 or Chart 4).
**Additional Details**
<img width="889" height="224" alt="Image" src="https://github.com/user-attachments/assets/05ceabcf-ac67-4e48-8880-57f8fd57b4c2" />
After using dataZoom:
The second-to-last data point still links correctly
When this point becomes the last visible point, the linking issue appears again
Does this suggest that the issue is related to the final axis position or x-axis boundary behavior? I have also tried adjusting the grid size, but the same problem still occurs.
### Expected Behavior
When hovering the last data point on any chart in the group, all charts should show the corresponding tooltip/axisPointer through the connect() mechanism.
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] ECharts connect() does not link the last data point across connected charts [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #21414:
URL: https://github.com/apache/echarts/issues/21414#issuecomment-3750603086
"A picture is worth a thousand words," but without Minimal Reproduction code, there could be a thousand different reasons for the problem...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org