如何编辑highcharts boxplot中的工具提示文本

1 highcharts

我想在方块图上更改弹出窗口的文本.

api和那里链接的例子,我假设这是一个向系列添加格式化程序功能的情况.所以我去了演示并点击了"在jsFiddle中编辑".然后我改变了:

tooltip: {
    headerFormat: '<em>Experiment No {point.key}</em><br/>'
}
Run Code Online (Sandbox Code Playgroud)

tooltip: {
    headerFormat: '<em>Experiment No {point.key}</em><br/>',
    formatter: function() { return 'some random string'; }
}
Run Code Online (Sandbox Code Playgroud)

我期望工具提示改为'一些随机字符串'(如从工具提示API参考链接的演示中所发生的那样),但它没有改变.任何提示?

Sam*_*Sam 6

formatter应被加入到tooltip主要对象的选项的属性.

演示:http://jsfiddle.net/kxbXx/