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

Stock Chart - very very slow

2 Answers 150 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Ling
Top achievements
Rank 1
Ling asked on 06 Nov 2014, 03:37 AM
Hi,
I'm trying to use the StockChart to build something similar to the yahoo finance stock charts.
http://finance.yahoo.com/echarts?s=AAPL+Interactive#

When I load the chart, I would like to display the current day's intraday price series - with 1 minute granularity. The stock chart takes a long time to render. I'm trying to understand how many data points the stock chart is capable of handling. It looks like data between 9 - 3 PM at one minute intervals is something it cannot handle. I don't think server virtualization helps, since I would like to chart the current day when I load the chart.

I have a web page with a kendo grid and stock chart. The stock chart is refreshed on selecting a row in the grid. While the stock chart data source is being refreshed and the chart is being rendered, the entire page is unresponsive. I cannot even scroll through the rows in the grid.

Any feedback on how much data the chart is designed to handle woudl be very helpful.

Thanks,

2 Answers, 1 is accepted

Sort by
0
Ling
Top achievements
Rank 1
answered on 07 Nov 2014, 02:33 PM
Hi guys, 

Any feedback?

Thanks,
0
T. Tsonev
Telerik team
answered on 10 Nov 2014, 07:13 AM
Hello,

Please accept my apologies for the delayed response.

The stock chart offers a virtualization mode that allows offloading most of the calculations to the server.
The demo is available with ASP.NET MVC, Spring and PHP back-end.

In this mode the chart will request only the points for the current period, at the required time resolution.
Therefore you'll only need minute resolution only when the user is looking at a minute time scale.
This greatly reduces the number of actual data points needed to be sent and plotted.

Let me know if you have any further questions.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Ling
Top achievements
Rank 1
Answers by
Ling
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or