How to show all points

3 posts, 0 answers
  1. Stuart
    Stuart avatar
    30 posts
    Member since:
    Jun 2010

    Posted 10 Jun 2010 Link to this post

    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. Stuart
    Stuart avatar
    30 posts
    Member since:
    Jun 2010

    Posted 10 Jun 2010 Link to this post

    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...
  3. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 15 Jun 2010 Link to this post

    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.
Back to Top