antvis / F2

📱📈An elegant, interactive and flexible charting library for mobile.
https://f2.antv.vision/zh
MIT License
7.89k stars 649 forks source link

tooltip如何隐藏主体,然后显示xtip和ytip? #1764

Closed cdx111 closed 1 year ago

cdx111 commented 1 year ago

What problem does this feature solve?

f2教程不一致

What does the proposed API look like?

希望实现xtip和ytip image

cdx111 commented 1 year ago

我找不到相关的文档,但是我找到了showXtip和showYtip,关于主体我要如何隐藏?

tangying1027 commented 1 year ago

目前没有主体隐藏,只显示xtip和ytip的api

可以自定义 withTooltip 或者试试把主体里面的样式透明度置0

cdx111 commented 1 year ago

后面我使用空custom,可以隐藏主体