highcharts 甘特高图中的工具提示

jgwigjjp  于 5个月前  发布在  Highcharts
关注(0)|答案(1)|浏览(80)

我在滚动时遇到甘特Highcharts工具提示问题。
This is the problem
正如你可以在图片中看到的,工具提示在甘特后面,我尝试了这个代码片段,但它不工作:

// JS

tooltip: {
    style: {
        zIndex: 9999
    }
},

字符串
代码:https://jsfiddle.net/carmaro/ygvza0Lm/4/

xeufq47z

xeufq47z1#

最简单的解决方案是为工具提示启用outside选项。例如:

tooltip: {
    outside: true,
    ...
}

字符串

现场演示:https://jsfiddle.net/BlackLabel/r5jf0v96/
API引用:https://api.highcharts.com/highcharts/tooltip.outside

相关问题