Kendo UI chart - how do I show animation while loading kendo chart data?
HTML
code-sample
<div id="example">
<div class="demo-section
k-content wide sel-chart-wrapper">
<div id="chart"></div>
</div>
</div>
JQuery
code-sample
$(function () {
//Used to display progress.
//Used to hide displayed
progress.
kendo.ui.progress($("#chart"), false);
});
For
Kendo DataSource
dataSource: {
requestStart: function () {
kendo.ui.progress($("#chart"), true);
},
requestEnd : function () {
kendo.ui.progress($("#chart"), false);
}
}
I think, It might help you! thank you!