F2
F2 copied to clipboard
set showTooltipMarker for single line
- [x] 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
}
more details ? did not understand what you want...
more details ? did not understand what you want...
onShow: (obj) => { // 只显示一条线的marker return (obj.tooltipMarkerCfg.items = obj.tooltipMarkerCfg.items.slice(0, 1)); },
如果还有柱状图,要显示柱状图的提示背景,隐藏线图的marker,有没有办法做到?