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

Large DataSet from WCF service for Chart

1 Answer 45 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Saravana Kumar
Top achievements
Rank 1
Saravana Kumar asked on 10 Jul 2010, 07:06 AM
The sampling and performance of RadChart's ability to show thousands of data points in an intelligent way is great. The biggest problem for me is how to transfer this data from the server to client. In a real world scenario, this data is going to reside in a persistent store like database and a WCF service will help getting it.

All the example's I've seen so far works with random data generation on the client side. How can I efficiently bring such a large volume of data from a WCF service.

I believe the sampling only occurs on the client side after you have bound all the datapoints, series mapping to the chart.

Many Thanks in Advance.

Saravana. 

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 14 Jul 2010, 01:04 PM
Hello Saravana Kumar,

Generally Silverlight is a client-side technology therefore all of the control logic (e.g. the built-in chart sampling and aggregation) can be executed only on the client-side. Basically if you would like to use the chart sampling feature, you will need to send all data through a WCF service and this will not be very efficient; alternatively you can try to group / aggregate your data on the SQL SERVER level (i.e. in this scenario you will not use chart sampling feature) and pass to the client only the actual data to display (versus sending all data).

Here are some nice materials on WCF RIA to get you started:


Best wishes,
Freddie
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Saravana Kumar
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or