show tooltips of piechart when hover outside of the chart on a button

帅比萌擦擦* 提交于 2020-01-06 04:16:44

问题


http://jsfiddle.net/39UXK/4/

in this example I want to see the tooltips of the piechart when i hover on the respected buttons.

Can anyone please help me here ? Cheers


回答1:


You need to find the point in question, select it, and refresh the tooltip:

// find the point
var point = chart.series[0].points[i];

// select the point
point.select();

// refresh the tooltip
chart.tooltip.refresh(point);


来源:https://stackoverflow.com/questions/11671227/show-tooltips-of-piechart-when-hover-outside-of-the-chart-on-a-button

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!