This is a migrated thread and some comments may be shown as answers.

kendo chart loading data on panning and zooming

1 Answer 300 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Shantanu
Top achievements
Rank 1
Shantanu asked on 30 Jan 2017, 08:40 AM

Hi,

First:

I have charts on a dashboard where data is 10,000 or more rows per chart and from different tables.  This is causing me a very slow and hang kind of situation. Many time browser ask me to kill the long running java scripts.

Is there any way where I can manage data loading on panning and zooming of the charts? For example, I will bring all the data from data tables and will keep on browser in JSON format somewhere in "data dash" attribute. I will load first 10 or 15 records only which will show 10 or 15 bars on a chart. After that as soon as I will start panning, records will keep adding into charts and more bars will be displayed.

It will help us to load dashboard quickly.

Second:

Is there any way to communicate to user that this chart is panning enabled or zoom-able. For example scroll bar or arrow etc.

 

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 01 Feb 2017, 08:06 AM
Hello,

You can use the drag and zoom events similar to this demo to load the data on demand. If serverPaging is enabled and implemented for the dataSource, then it will load only the data for the current page and will make requests for the new data.

I am afraid that the chart does not currently support any indicators that it can be zoomed or panned.

Regards,
Daniel
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Charts
Asked by
Shantanu
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or