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

Ordering horizontal axis label

1 Answer 62 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Yugal
Top achievements
Rank 1
Yugal asked on 13 Aug 2013, 06:47 AM
Hi,

Is there any way  by which i can order the horizontal axis label in increasing order?
Please reply as soon as possible.

Thanks

1 Answer, 1 is accepted

Sort by
0
Rosko
Telerik team
answered on 15 Aug 2013, 10:46 AM
Hi Yugal,

From what I read, I assume that you are using a categorical axis for your chart. When using it, each category is added on the axis as the items are iterated by the chart in the same order as they are in the collection.

So, you can tackle this issue in two ways:
1. Sort your data according to that property which is responsible for the horizontal axis positioning.
or
2.Use a linear axis or DateTime one, depending on your data to achieve the desired effect,

As a fairly new client, I would strongly suggest to check our vast collection of online help topics and online demonstrations with source code.
Regards,
Rosko
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ChartView
Asked by
Yugal
Top achievements
Rank 1
Answers by
Rosko
Telerik team
Share this question
or