kendo chart loading data on panning and zooming

2 posts, 0 answers
  1. Shantanu
    Shantanu avatar
    1 posts
    Member since:
    Nov 2014

    Posted 30 Jan Link to this post

    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.

     

  2. Daniel
    Admin
    Daniel avatar
    2142 posts

    Posted 01 Feb Link to this post

    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.
Back to Top