dragEnd

Fired when the user stops dragging the chart.

The event handler function context (available via the this keyword) will be set to the widget instance.

Event Data

e.axisRanges Object

A hastable containing the initial 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 dragEnd action.

e.sender kendo.dataviz.ui.Chart

The widget instance which fired the event.

Example - subscribe to the "dragEnd" event during initialization

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [
    { data: [1, 2] }
  ],
  dragEnd: function(e) {
    console.log("dragEnd");
  }
});
</script>

Example - subscribe to the "dragEnd" event after initialization

<div id="chart"></div>
<script>
function chart_dragEnd(e) {
  console.log("dragEnd");
}
$("#chart").kendoChart({
  series: [
    { data: [1, 2] }
  ]
});
var chart = $("#chart").data("kendoChart");
chart.bind("dragEnd", chart_dragEnd);
</script>
In this article
Not finding the help you need? Improve this article