0

I am using kenod box plot in my project. Is there any way i can get a hover event when the user hovers over the box plot chart? Not the(onserieshover)event ,but on simply hover on chart area?

Help needed

4

1 回答 1

0

您可以将鼠标悬停事件的事件侦听器添加到图表的 div 标签。请看下面的例子

<html>
<body>
<div id="kendoChart></div>
</body>
<script>
 document.getElementById("kendoChart").addEventListener("mouseover",kendoChartMouseOver);

function kendoChartMouseOver()
{
 @* Do Something On Mouse Hover *@
}
</script>
</html>

我没有测试上面的代码,但它应该可以正常工作。

于 2015-02-09T08:52:54.807 回答