Do Kendu UI charts provide drill down functionality? Like, say, I want the user to redirect to another page as a result of clicking on area of a chart to show more details? If yes, then how?
Thanks in advance.
2 Answers, 1 is accepted
0
Atanas Korchev
Telerik team
answered on 27 Dec 2011, 06:06 PM
Hi,
Drill-down functionality is not supported out of the box yet. However the chart exposes a seriesClick event which can be used instead. You can find a live demo here.
All the best,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
function onSeriesClick(e) {
alert("Clicked value: " + e.value);
}
$(document).ready(function () {
setTimeout(function () {
// Initialize the chart with a delay to make sure
// the initial animation is visible
createChart();
$("#example").bind("kendo:skinChange", function (e) {
createChart();
});
}, 400);
$(".configuration").bind("change", refresh);
});
function refresh() {
var chart = $("#chart").data("kendoChart"),
pieSeries = chart.options.series[0],
labels = $("#labels").prop("checked"),
alignInputs = $("input[name='alignType']"),
alignLabels = alignInputs.filter(":checked").val();