tooltip超出屏幕范围
tooltip: {
// confine:'true',position: ['5%', '0%']
// confine: true,
// alwaysShowContent: true, 一直悬停
enterable: true, //可鼠标交互悬停
backgroundColor: 'rgba(255,255,255,0.8)',
borderColor: '#f5f6f8',
borderWidth: 1,
position: [100, 0],
// renderMode: "richText",
className: "tipclass", //设置悬停样式
textStyle: {
fontSize: 5,
height:50,
lineHeight: 1,
// height: 30
}
},
.tipclass{
overflow: auto !important;
height: 90%;
}
-------------------------------------------------------------------------
## 极客时间全网最便宜最优惠购买方式,优惠券返现 百度网盘 微信关注公众号“选门好课”
扫描下方二维码关注我的公众号"选门好课",与我一起交流知识
## 极客时间全网最便宜最优惠购买方式,优惠券返现 百度网盘 微信关注公众号“选门好课”
扫描下方二维码关注我的公众号"选门好课",与我一起交流知识
![](https://img2020.cnblogs.com/blog/1380427/202106/1380427-20210612205128988-2121550039.jpg)