0
我有这样的代码:Highcharts - 显示在鼠标悬停和鼠标的自定义提示点击
events: {
mouseOver: function() {
this.chart.custom_tooltip.show();
},
click: function(evt) {
this.chart.custom_tooltip.bodyFormatter = function (e) {
return 'hello';
};
this.chart.custom_tooltip.refresh(evt.point, evt);
}
}
看来它不工作的方式任何想法,香港专业教育学院已经搜查了我的问题,但似乎有没有例子,其中工具提示显示点击和mouseOver,我正在使用列图表btw
你能展现活生生的例子你的问题?你看过这个话题吗? http://stackoverflow.com/questions/24204419/highcharts-show-tooltip-on-points-click-instead-mouseover –
@GrzegorzBlachliński我已经看过这个例子,但没有实现mouseOver – Viscocent
创建一个小提琴! –