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

set showTooltipMarker for single line #882

Open
1 task done
L-x-C opened this issue May 21, 2020 · 4 comments
Open
1 task done

set showTooltipMarker for single line #882

L-x-C opened this issue May 21, 2020 · 4 comments

Comments

@L-x-C
Copy link

L-x-C commented May 21, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

like this example https://antv-f2.gitee.io/zh/examples/line/multiple#series
how to set the blue line showTooltipMarker: false while others true?

What does the proposed API look like?

showTooltipMarker(type) {
  return boolean
}
@zengyue
Copy link
Member

zengyue commented May 22, 2020

more details ? did not understand what you want...

@L-x-C
Copy link
Author

L-x-C commented May 25, 2020

more details ? did not understand what you want...

image

@1590719717
Copy link

onShow: (obj) => {
// 只显示一条线的marker
return (obj.tooltipMarkerCfg.items = obj.tooltipMarkerCfg.items.slice(0, 1));
},

@transtone
Copy link

如果还有柱状图,要显示柱状图的提示背景,隐藏线图的marker,有没有办法做到?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants