Open willhlc opened 1 year ago
@willhlc It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
两种处理方式
- tooltip.confine 将 tooltip 框限制在图表的区域内
- 将 tooltip 的 DOM 节点添加为 HTML 的 的子节点 感谢回答! 这两个方法之前也试过了,但是没有效果,超出部分还是会隐藏; 目前折中的办法是,grid的bottom设置大一点,或者每行展示两个条目的光标值
Version
5.3.0
Link to Minimal Reproduction
null
Steps to Reproduce
无
Current Behavior
自定了tooltip.axisPointer. label的格式,这个是作为多Y轴的刻度指示器;标签内容有多个时,当移动鼠标到chart的底部,指示器的内容超出了chart高度部分,会被隐藏;这种问题该如何解决?在canvas及其父元素设置overflow: visible,均无效。 如下图,下面的那行文字被隐藏了一半
Expected Behavior
希望可以显示全文本指示器
Environment
Any additional comments?
No response