plotAreaHover

Fired when the user hovers the plot area.

Event Data

e.category Object

The data point category. Available only for categorical charts (bar, line, area and similar).

e.element Object

The DOM element of the plot area.

e.originalEvent Object

The original browser event that triggered the hover action.

e.sender kendo.dataviz.ui.Chart

The widget instance which fired the event.

e.value Object

The data point value. Available only for categorical charts (bar, line, area and similar).

e.x Object

The X axis value or array of values for multi-axis charts.

e.y Object

The Y axis value or array of values for multi-axis charts.

Example - subscribe to the "plotAreaHover" event during initialization

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [
    { data: [1, 2] }
  ],
  plotAreaHover: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(e.value);
  }
});
</script>

Example - subscribe to the "plotAreaHover" event after initialization

<div id="chart"></div>
<script>
function chart_plotAreaHover(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log(e.value);
}
$("#chart").kendoChart({
  series: [
    { data: [1, 2] }
  ]
});
var chart = $("#chart").data("kendoChart");
chart.bind("plotAreaHover", chart_plotAreaHover);
</script>
In this article