noteHover
Fired when the user hovers one of the notes.
The event handler function context (available via the this
keyword) will be set to the widget instance.
Event Data
e.category Object
The data point category. Available only for categorical charts (bar, line, area and similar).
e.dataItem Object
The data item of the point's note.
e.element Object
The DOM element of the plot area.
e.sender kendo.dataviz.ui.Chart
The widget instance which fired the event.
e.series Object
The series of the note.
e.value Object
The data point value.
e.visual Object
The note visual element.
Example - subscribe to the "noteHover" event during initialization
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
data: [{ value: 1, noteText: "a" }]
}],
noteHover: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(e.text);
}
});
</script>
Example - subscribe to the "noteHover" event after initialization
<div id="chart"></div>
<script>
function chart_noteHover(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(e.text);
}
$("#chart").kendoChart({
series: [{
data: [{ value: 1, noteText: "a" }]
}]
});
var chart = $("#chart").data("kendoChart");
chart.bind("noteHover", chart_noteHover);
</script>