Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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] 鼠标 hover 到标签上时,无法显示 tooltip #4757

Closed
visiky opened this issue Mar 13, 2023 · 1 comment
Closed

[v5] 鼠标 hover 到标签上时,无法显示 tooltip #4757

visiky opened this issue Mar 13, 2023 · 1 comment
Assignees
Labels

Comments

@visiky
Copy link
Member

visiky commented Mar 13, 2023

期望结果

这个问题在 4.0 中也存在,期望鼠标 hover 在标签上时,也可以如右图展示 tooltip

现状 期望
image image

复现地址

@hustcc
Copy link
Member

hustcc commented May 11, 2023

.label({
  text: 'value',
  position: 'inside',
  formatter: (v) => (v ? `${v}%` : ''),
  transform: [{ type: 'overlapDodgeY' }],
  style: {
    fill: '#000',
    fontSize: 10,
    pointerEvents: 'none',  // 👈🏻,不响应事件即可
  },
});

@antvis antvis locked and limited conversation to collaborators May 11, 2023
@hustcc hustcc converted this issue into discussion #5005 May 11, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants