antvis/G2

Tooltip 交互异常 #4854

Aarebecca posted onGitHub

官网案例

Tooltip 选择线无法作用于图中框选区域

应该不算 bug,不过体验不太好

<img width="880" alt="image" src="https://user-images.githubusercontent.com/25787943/228712194-d7a8676b-6c10-47d1-abc1-41256c10e573.png">


嗯嗯,确实不算 bug,体验也确实不好,可能得提供两种 tooltip 模式,让 tooltip 去响应 point,而不是 line。

posted by pearmini about 2 years ago

什么时候解决?这个图中,line 只是一个标注,point 才是要去仔细看的数据。

posted by hustcc about 2 years ago

官网案例

如果是这样的话,简单设置一下就好:

chart.line().tooltip(null);
chart.interaction('tooltip', { series: false });
posted by pearmini about 2 years ago

Fund this Issue

$0.00
Funded

Pull requests