高图-双击事件 [英] Highcharts - Double click event
本文介绍了高图-双击事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
高位图表是否有双击事件?
High charts has double click event like?
plotOptions: {
series: {
cursor: 'pointer',
marker: {
radius: 2
},
point: {
events: {
// like this any event?If not, any alternative
dbclick: function () {
$('.highcharts-tooltip').show();
},
click: function () {
$('.highcharts-tooltip').show();
},
mouseOver: function () {
$('.highcharts-tooltip').hide();
},
mouseOut: function () {
$('.highcharts-tooltip').hide();
}
}
}
}
}
我想要实现的是,我想在双击点时显示工具提示.
What i want to achieve is, i want to show tool tip on double click on point.
推荐答案
您可以使用扩展名,该扩展名允许这样做.
You can use an extension, which allows do this.
http://www.highcharts.com/plugin-registry/单个/15/自定义事件
这篇关于高图-双击事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文