Highchart Bubble不显示工具提示

时间:2019-06-24 09:47:11

标签: javascript highcharts

        var chart = new Highcharts.Chart({
    xAxis: fox.xAxis,
    yAxis: fox.yAxis,
    chart: {
        alignTicks: true,
        type: "bubble",
        backgroundColor: "#FFFFFF",
        renderTo: chartDiv.attr('id'),
        zoomType: 'xy',
        minRange: 1             
    },
    plotOptions: {
        series: {
            turboThreshold: 100000,
            allowPointSelect: true,
            events: ser.plotEvents
        },
        pie: ser.pieOptions,
    },
    tooltip: {
        useHTML: true,
        headerFormat: '<table>',
        pointFormat: '<tr><th colspan="2"><h3>header</h3></th></tr>' +
            '<tr><th>1.kpi:</th><td>111</td></tr>' +
            '<tr><th>2.kpi:</th><td>222</td></tr>' +
            '<tr><th>3.kpi:</th><td>333</td></tr>',
        footerFormat: '</table>',
        borderRadius: 10,
        borderWidth: 3,
        followPointer: true
    },
    series: fox.series
});

如果不访问序列值,它甚至不会在上面显示。我究竟做错了什么?编辑:在这里我添加了完整的图表。系列包括x y和z轴。使用高图4.6.1

0 个答案:

没有答案