I have a KendoUI chart generated with JavaScript. Is there a way to clear the plotArea with a command? For the purpose of showing a "Loading..." image while waiting for a DataSource to read remote data.
Thanks
I have a KendoUI chart generated with JavaScript. Is there a way to clear the plotArea with a command? For the purpose of showing a "Loading..." image while waiting for a DataSource to read remote data.
Thanks
Displaying and hiding the loading animation is:
Then you should use
requestStart
andrequestEnd
events in theDataSource
for knowing when to show or hide the progress animation.The DataSource of the Chart would be:
Example here: http://jsfiddle.net/OnaBai/kcptr/