[Bug] 多图表联动,如果x轴不完全一样,tooltip异常
huihui925 opened this issue · comments
Version
^5.5.0
Link to Minimal Reproduction
无
Steps to Reproduce
通过echarts.connect 设置多图表联动后,如果x轴不完全一样,会复现。
Current Behavior
当前结果:x轴如果不完全一样,tooltip显示如图,并不是相同时间,不是想要的结果。
Expected Behavior
期望结果:多图联动时,tooltip的x轴时间为一样的
另外请问,多图联动 tooltip时,是根据鼠标在x轴位置判断,还是根据x轴的值判断的呢。
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
@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
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?
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 如果图表上没有确切的数据,能否不高亮显示最近的数据。预期结果 只高亮相同时间的数据