dragEnd
Fires when the user stops dragging the sparkline.
Example
<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
type: "line",
series: [{
data: [10, 15, 8, 12, 18, 5]
}],
dragEnd: function(e) {
console.log("Drag ended");
console.log("Final axis ranges:", e.axisRanges);
}
});
</script>
Event Data
e.axisRanges Object
A hastable containing the final range (min and max values) of named axes. The axis name is used as a key.
e.originalEvent Object
The original user event that triggered the drag action.
In this article