Skip to content
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

Tooltip 交互异常 #4854

Closed
Aarebecca opened this issue Mar 30, 2023 · 3 comments · Fixed by #4912
Closed

Tooltip 交互异常 #4854

Aarebecca opened this issue Mar 30, 2023 · 3 comments · Fixed by #4912
Assignees
Labels

Comments

@Aarebecca
Copy link
Contributor

Aarebecca commented Mar 30, 2023

官网案例

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

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

image

@pearmini
Copy link
Member

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

@pearmini pearmini added the V5 label Mar 31, 2023
@hustcc
Copy link
Member

hustcc commented Apr 23, 2023

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

@pearmini
Copy link
Member

官网案例

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

chart.line().tooltip(null);
chart.interaction('tooltip', { series: false });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants