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

How to show all points

2 Answers 92 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Stuart
Top achievements
Rank 1
Stuart asked on 10 Jun 2010, 10:05 AM
Hi

I am trying out the chart control and I've noticed that the chart that it produces with my data only shows a subset of the actual data points - a few hundred compared to the total number of points which is a few thousand. Is there some way to tell the chart control to draw all points? I'm guessing that this is the way that the chart control has been designed to 'handle' many thousands of data points but to be honest it makes the control useless for us if we can't show all data.

Cheers

2 Answers, 1 is accepted

Sort by
0
Stuart
Top achievements
Rank 1
answered on 10 Jun 2010, 10:53 AM
Okay, I've answered my own question

 

 

 

<telerik:RadChart.SamplingSettings>

 

 

 

 

<telerik:SamplingSettings SamplingThreshold="0"/>

 

 

 

 

</telerik:RadChart.SamplingSettings>

 



Trouble is the chart rendering is now so slow. Ho hum, have to go back to the good old asp.net/chartdirector route...
0
Vladimir Milev
Telerik team
answered on 15 Jun 2010, 05:17 PM
Hi Stuart,

The question here is all about the trade off. Check my blog post for some theory on how sampling works in RadChart. There is a nice property RadChart.SamplingSettings.SamplingThreshold. Giving it a higher value favors better precision, giving it a lower one makes RadChart work faster. RadChart for silverlight is actually infinitely faster with lots of data points compared to RadChart for ASP.NET.

Hope this helps!

Kind regards,
Vladimir Milev
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
Stuart
Top achievements
Rank 1
Answers by
Stuart
Top achievements
Rank 1
Vladimir Milev
Telerik team
Share this question
or