Highcharts 3D 散点图:悬停点时显示的更改说明

Highcharts 3D Scatter Plot: Change Description shown when hovering points

我是 Highcharts 的新手,我想知道,当鼠标悬停在某点上时,是否可以更改显示的 "description box" 内容。

我试过: https://jsfiddle.net/by0sxgz1/17/ 对系列使用 pointDescriptionFormatter 选项,但它不起作用。

代码片段:

series: [
{
    name: 'mySeries1',
    accessibility: {
        enabled: true,
        pointDescriptionFormatter: function() {
            return "Hello"
        }
    },
    data: [{x:1, y:1, z:1},{x:2, y:2, z:2}]
}

我想在一个点上方的小框中看到 "Hello"(当用鼠标悬停时),而不是正常的描述,即系列和 x、y 和 z 值。

我做错了什么?

我非常感谢任何 link 或教程 :)

将此添加到您的高图配置中:

tooltip: { 
        useHtml:true,   
        formatter: function() { 
        return "<div style='width:140px;text-align:center;'>Hello!</div>"; 
        } 
    }