guohaiping521 posted onGitHub
鼠标滑动到节点1,展示是ok的,滑动到节点3,希望tooltip能展示到该节点的左边,但是却遮住了节点,这个有自适应的方法吗
https://stackblitz.com/
鼠标滑动上去
希望自适应
Mac
No response
fixToNode 或者offsetX/Y
1.fixToNode不行,最后一个如果比较长,会像上面的图片显示的那样,节点右边的边为起始,遮盖住节点 2.offsetX 会造成tooltip展示不固定
暂时没有支持这种自动适应,可以自定义 DOM 浮层作为 tooltip,挂载方式:https://g6.antv.antgroup.com/manual/advanced/coordinate-system
canvas容器的父元素设置相对定位
This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.
这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。
Fund this Issue
Pull requests
© 2019 BoostIO, Inc.