echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] 多图表联动,如果x轴不完全一样,tooltip异常

Open huihui925 opened this issue 1 year ago • 3 comments

Version

^5.5.0

Link to Minimal Reproduction

Steps to Reproduce

通过echarts.connect 设置多图表联动后,如果x轴不完全一样,会复现。

Current Behavior

当前结果:x轴如果不完全一样,tooltip显示如图,并不是相同时间,不是想要的结果。 image

Expected Behavior

期望结果:多图联动时,tooltip的x轴时间为一样的

另外请问,多图联动 tooltip时,是根据鼠标在x轴位置判断,还是根据x轴的值判断的呢。

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

huihui925 avatar Jun 18 '24 12:06 huihui925

@huihui925 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Bug] If the x-axis is not exactly the same, the tooltip is abnormal

echarts-bot[bot] avatar Jun 18 '24 12:06 echarts-bot[bot]

This problem seems to happen when there are no exact data on the connected chart. So I believe this is the expected behavior since the nearest data is highlighted when tooltip trigger is axis. Otherwise, what is the expected result?

Ovilia avatar Jun 26 '24 06:06 Ovilia

This problem seems to happen when there are no exact data on the connected chart. So I believe this is the expected behavior since the nearest data is highlighted when tooltip trigger is axis. Otherwise, what is the expected result?

@Ovilia 如果图表上没有确切的数据,能否不高亮显示最近的数据。预期结果 只高亮相同时间的数据

huihui925 avatar Jun 26 '24 07:06 huihui925