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

Grouping a string column with numbers does not work

1 Answer 56 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris Thierry
Top achievements
Rank 1
Chris Thierry asked on 27 Feb 2012, 05:16 PM
Hi, I'm using a RadChart with some grouping inside. I have a problem trying to group a string column that has numbers inside, as soon as I group this column, values are not in order, is there anything special to do in this case?

For example I have values in my column like these:

Column1
430286
435070
183843

the last number should be first in the list...

Any idea?
Thank you.

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 01 Mar 2012, 02:21 PM
Hi Chris,

When grouping, RadChart would not sort, so the items will appear in the order they come from the source. You can use the sorting in RadChart or sort the data source before sending it to the chart.


Best regards,
Ves
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Chart
Asked by
Chris Thierry
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or