在按钮上方悬停在图表外时显示饼图的工具提示 [英] show tooltips of piechart when hover outside of the chart on a button

查看:91
本文介绍了在按钮上方悬停在图表外时显示饼图的工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

推荐答案

您需要找到有问题的点,选择它并刷新工具提示:

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);

这篇关于在按钮上方悬停在图表外时显示饼图的工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆