drilldown
Fires when the user when the user wants to drill down on a specific point.
The event handler function context (available via the this
keyword) will be set to the widget instance.
Event Data
e.drilldownSeries Object
The configuration object for the newly created drilldown series.
e.point Object
The point to drill down into.
e.preventDefault Function
If invoked the drill down operation will be cancelled and the Chart will remain in the same state.
e.sender kendo.dataviz.ui.Chart
The widget instance which fired the event.
e.series Object
The configuration object for the series to drill down into.
Example - subscribe to the "drilldown" event during initialization
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [
{ data: [1, 2] }
],
drilldown: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log("drilldown");
}
});
</script>
Example - subscribe to the "drilldown" event after initialization
<div id="chart"></div>
<script>
function onDrilldown(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log("drilldown");
}
$("#chart").kendoChart({
series: [
{ data: [1, 2] }
]
});
var chart = $("#chart").data("kendoChart");
chart.bind("drilldown", onDrilldown);
</script>