F2 icon indicating copy to clipboard operation
F2 copied to clipboard

set showTooltipMarker for single line

Open L-x-C opened this issue 4 years ago • 4 comments

  • [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
}

L-x-C avatar May 21 '20 05:05 L-x-C

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

zengyue avatar May 22 '20 09:05 zengyue

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

image

L-x-C avatar May 25 '20 05:05 L-x-C

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

1590719717 avatar Nov 10 '20 15:11 1590719717

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

transtone avatar Sep 22 '21 03:09 transtone