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

How to use custom sampling function

3 Answers 55 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Angshuman
Top achievements
Rank 2
Angshuman asked on 07 Feb 2011, 06:39 AM
I haven't come across any code example showing how to use custom sampling for data points in the chart control - at least what to say to the
 radchart.SamplingSettings.SamplingFunction to signify custom sampling or how the sampling delegate would look like ... Please help out.

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 09 Feb 2011, 10:20 AM
Hi Angshuman,

Take a look at our help topic Sampling that describes the SamplingFunction. I hope this gets you started properly.

Best wishes,
Evgenia
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Angshuman
Top achievements
Rank 2
answered on 09 Feb 2011, 02:18 PM
The page you are referring to talks only about built in sampling.

The "GridView's custom aggregating functions. " link takes me to a "Welcome to the Telerik Silverlight Controls Demo Site" which asks me to install Silverlight and all. I can't proceed any further.
0
Evgenia
Telerik team
answered on 11 Feb 2011, 12:40 PM
Hello Angshuman,

The following WPF demo with full source code demonstrates how to create custom aggregate function for RadGridView using the extensibility API of Telerik LINQ based data engine adding. 
As written in the Sampling help topic I gave you in my previous post you can create custom sampling functions the same way as GridView's aggregate functions.
I hope this information helps.

Kind regards,
Evgenia
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Chart
Asked by
Angshuman
Top achievements
Rank 2
Answers by
Evgenia
Telerik team
Angshuman
Top achievements
Rank 2
Share this question
or