tooltip: {
useHTML: true,
formatter: function() {
return '<div>' + thispointdate
+ '<br\><span>$' + thisy
+ '</span><br\><button onclick="testAlert()">test test test</button></div>';
},
},
function testAlert() {
alert('test');
};
mor_ree 6
将工具提示的指针事件属性更改为'auto'。
tooltip: {
// pointFormat: '<div>{pointdate}<br\>{pointair}<br\>${pointy}</div><button>test</button>',
useHTML: true,
formatter: function() {
return '<div>'+thispointdate+'<br\>'+thispointair+'<br\><span>$'+thisy+'</span><br\><a href=">
以上就是关于highchart点击事件没反应全部的内容,包括:highchart点击事件没反应、如何用python代码判断一段范围内股票最高点、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)