当鼠标仍在标志上时,标志上的Highcharts股票图表工具提示切换到数据系列工具提示



在下面的highchart stockchart示例中,当您将鼠标放在x轴上的标志上时,您可以看到奇怪的行为。它将简要地显示标志的工具提示,但是当您继续将鼠标移动到标志方格上时,它将切换到数据系列的工具提示。我是否错过了一个设置,以保持显示工具提示的标志,直到你的鼠标离开它?

http://jsfiddle.net/gagsf83n/

{
            type: 'flags',
            name: 'AxisFlags',
            data: [{
                x: lastDate - 45 * days,
                title: 'On axis',
                text: 'A1'
            }, {
                x: lastDate - 15 * days,
                title: 'On axis',
                text: 'A2'
            }],
            tooltip: {
                followPointer: true
            },
            shape: 'squarepin',
            zIndex: 999
        }

这个错误已经在最新的主分支中修复了。

参考:——http://github.highcharts.com/hilitock.js

最新更新