Chart reloading content while dragging

2 posts, 1 answers
  1. Daniel
    Daniel avatar
    6 posts
    Member since:
    Apr 2016

    Posted 25 May Link to this post

    Hello!

    Is there a way to reload content via ajax while dragging the chart e.g. to the left or the right?

    For example, if I have a line chart showing a timeseries and I drag the chart to the left, so that I can reload the data for the currently visible timeframe?
    So I could move the chart endlessly to the left or right (like infinite scrolling)?

    Thanks for your help!

    Best Regards,
    Daniel

     

  2. Answer
    Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    114 posts

    Posted 30 May Link to this post

    Hello Daniel,

    Please accept my apology for the delay. 

    I would recommend using the Kendo UI Stock Chart. It has the navigation (scrolling) capabilities you describe out of the box.

    A demo of the Kendo UI Stock Chart is available here:

    http://demos.telerik.com/kendo-ui/financial/index

    To simulate endless scrolling and provide access to a large amount of data without loading it all at once you could do the following:

    - use a separate dataSource for navigator 

    http://docs.telerik.com/kendo-ui/api/javascript/dataviz/navigator

    - enable serverFiltering

    http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/stock-chart#configuration-navigator.dataSource

    ===

    Further documentation for The Kendo UI Stock Chart:

    http://docs.telerik.com/kendo-ui/controls/charts/stockchart/overview

    http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/stock-chart

    If the suggested approach is not applicable, please provide a more detailed explanation so I can assist further. 

    Kind Regards,
    Alex
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. UI for ASP.NET AJAX banner
Back to Top