【v5】散点图开启 label,label 会遮住 point 导致 tooltip 不显示 #5222
Answered
by
pearmini
Deathsteps
asked this question in
Q&A
Replies: 1 comment 1 reply
-
类似于 css 中不触发鼠标事件:
.label({ style: { pointerEvents: 'none' } }) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
问题描述
无 label 设定效果
有 label 设定,tooltip 无法触发
期望结果
从体验上讲 label 应该不影响 tooltip 触发。
官方的数据点比较多,可能比较明显,真实情况可能没这么多点,但点与点距离是数据决定的。label 就算有偏移,长度也是不可控的,大概率也会有遮挡情况。
如何重现
官方代码修改
额外信息
Beta Was this translation helpful? Give feedback.
All reactions