从highcharts热图系列中删除工具提示。

时间:2018-02-26 18:39:49

标签: javascript highcharts heatmap

我已经交了一个使用highcharts热图的应用程序。我的产品所有者希望删除工具提示。我已经查阅了文档(url:https://api.highcharts.com/highcharts/series.heatmap.tooltip),但系列工具提示没有启用属性,我可以将其设置为false。

1 个答案:

答案 0 :(得分:0)

如果您要在图表中停用所有系列的工具提示,请使用tooltip.enabled属性:https://api.highcharts.com/highcharts/tooltip.enabled

如果您只想为图表中的一种类型系列(例如热图)禁用它,请在false中返回tooltip.pointFormatterhttps://api.highcharts.com/highcharts/series.heatmap.tooltip.pointFormatter