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

Binding to large data source

1 Answer 93 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Yoni Dagan
Top achievements
Rank 1
Yoni Dagan asked on 21 Jan 2010, 03:56 PM
Hi,

I'm trying to create an interactive graph for a large data source.
When trying to bind the data source (list of Int) with about 50K data points, the application gets stuck on radChart1.DataBind();
What is the recommended way to display a graph (line chart) for such data?

Thanks,
Yoni

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 26 Jan 2010, 07:40 AM
Hi Yoni,

RadChart will have problems with thousands of items on screen. While the product was designed to be easily customizable and feature rich it does not cope well with extremely busy charts.The control is targeted for casual situations which do not require a high performance solution. There is a trade off to make between high customization and high performance and we've gone the rich features path as it is what most of our customers are interested in.

You may consider applying some sort of sampling on the data:

myData.Skip(i).Take(n).Average()

where n is added to i in each loop, that is -- getting the first 50 items and calculating their average value, then the next 50 items and so on. Please accept our apologies for not being able to meet your requirements.

Best regards,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Chart (obsolete as of Q1 2013)
Asked by
Yoni Dagan
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or