当前位置: 代码迷 >> 综合 >> echarts tooltip被遮挡
  详细解决方案

echarts tooltip被遮挡

热度:14   发布时间:2023-12-28 16:54:46.0

echarts tooltip被遮挡

 在制作图表中,发现有时候tooltip会被线条遮挡或者被柱子折线遮挡,这种情况会偶尔出现,解决方案如下

positions属性解决。

 tooltip: {position:function(point,params,dom,rect,size){dom.style.transform = 'translateZ(0)';}}

 

  相关解决方案