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

Sort descriptors not sorting (correctly)?

2 Answers 69 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Adam Petaccia
Top achievements
Rank 1
Adam Petaccia asked on 12 Jul 2010, 07:51 PM
I have a RadChart which receives data in a fairly ordered fashion (the data points are not guarenteed to be ordered, but almost always are). However, charts seem to have their data ordered bizarrely (I'm basically trying to sort by the XCategory). If I apply an ascending sort descriptor to the chart, there is no effect; descending does indeed "go in reverse" but the data still isn't actually sorted. For horizontal bar charts this results in shuffled data, but for line charts, it results in tens of lines darting horizontally back and forth. The sort descriptors are added to both RadChart.SortDescriptors and SeriesMapping.SortDescriptors. A grouping is in effect, but not by XCategory.

Is this a common pitfall? Is something obvious missing?

2 Answers, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 15 Jul 2010, 11:49 AM
Hello Adam Petaccia,

Can you send us a sample app/project demonstrating the issue so that our dev team can take a look at what's going on? You can open-up a bug report in order to attach the file.

Thanks in advance!

All the best,
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
0
Adam Petaccia
Top achievements
Rank 1
answered on 17 Sep 2010, 08:58 PM
Embarrassingly, this was a bug in the backend code causing some points to be dropped and later grouped incorrectly.
Tags
Chart
Asked by
Adam Petaccia
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Adam Petaccia
Top achievements
Rank 1
Share this question
or