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

Chart reloading content while dragging

1 Answer 72 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 25 May 2016, 04:49 PM

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

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Alex Hajigeorgieva
Telerik team
answered on 30 May 2016, 07:46 AM
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!
 
Tags
Chart
Asked by
Daniel
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or