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

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

1 Answer 66 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Zeeshan
Top achievements
Rank 1
Zeeshan asked on 11 Nov 2011, 01:04 PM
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

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 16 Nov 2011, 10:04 AM
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 >>

Tags
Chart
Asked by
Zeeshan
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or