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

图例鼠标移动上去,如何给具体某一图例出现自定义提示 #4956

Closed
4 tasks
jwlovelife opened this issue May 8, 2023 · 0 comments
Closed
4 tasks

Comments

@jwlovelife
Copy link

plot.on('legend-item:mouseover', ev => {
const target = ev.target;
const delegateObject = target.get('delegateObject');
const item = delegateObject.item; // 图例选项
// 如何将获得图例item出现tooltip
});

Checklist
  • npm test passes
  • benchmarks are included
  • commit message follows commit guidelines
  • documents are updated
Description of change
@antvis antvis locked and limited conversation to collaborators May 10, 2023
@hustcc hustcc converted this issue into discussion #4982 May 10, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant