How can i get the rad charts to show more accurate data

2 posts, 0 answers
  1. Zeeshan
    Zeeshan avatar
    12 posts
    Member since:
    Dec 2010

    Posted 11 Nov 2011 Link to this post

    Hi,
    I am working on a project where i have to apply heavy charting, so we are using the charts of Telerik.
    Now while i'm getting the data binded to the charts with couple of series, the chart do not seem to show the accurate data 
    only the screen shots can probably help you finding the issue, as I cannot upload the code for security reasons and also the code would be huge for me to be able to send over to you.
    The other thing is, its not that the chart is getting incorrect data because when I make a zoom on the chart, it seems to be showing accurate thing.

    Is there any way by which the accuracy level of chart could be increased ?
    If not then unfortunately I'm gonna have to find somewhere else where i could get atleast accuracy in the charts.

    FYI - I am using v2011.2.712.1040 release

    Thanks
  2. Evgenia
    Admin
    Evgenia avatar
    1437 posts

    Posted 16 Nov 2011 Link to this post

    Hi Zeeshan,

    As I was able to see from your pictures attached the issue is caused by the fact that the data in your datasource isn't sorted. The way RadChart currently works is that it takes each element from your collection and plots it on the ChartArea respecting its YValue and XValue. This causes the unwanted behavior shown in your images. What I can suggest is that you use the SortDescriptor property of the Chart and sort the data by its XValue/XCategory respectively at the moment it is bound. More information about Sorting together with a sample code can be found here.

    Best wishes,
    Evgenia
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top