-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【v5】tooltip share 打开,有时会不共享 #5543
Comments
鼠标不在折线图绘制区域内不会拾取 |
我理解打开 share,应该同 X 轴共享 Tooltip 吧,不然一会儿显示 A,一会儿显示 AB,很奇怪,真的有人这么用图吗? |
share 这配置我看看 |
看了一下这和 share 没有关系,share 不使用于种 tooltip,这个 #5564 添加了一个 closest 配置解决这个问题。 |
经过讨论,这个配置可以去掉。 |
@pearmini 柱状和散点和折线组合,坐标轴不共享的问题 |
@pearmini 没在文档中看到closest 这个配置呢。 |
@huangyuan7 这个配置已经去掉了哈 |
@pearmini 大佬大佬~,那v5版本还能实现这种效果吗 这种鼠标悬停在同一X轴位置上,但是不是在柱状图上,而在空白处。但是依然有tooltip效果。(ps: 图片效果是v4版本,加了tooltip:{shared:true}, 我在v5上试shared属性好像没效果😭😭😭😭😭) |
@huangyuan7 会解决这个问题,可以看这个 issue:#6257 |
问题描述
应该和热区有关(截图看不到光标位置,可自行尝试)
边上一点,就只有柱子的数据
中间一点,才能有线的数据
期望结果
不管鼠标 hover 在图形何处都应该保持工具提示数据共享
如何重现
官方代码修改
额外信息
The text was updated successfully, but these errors were encountered: