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

Display custom format in x-axis

1 Answer 293 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Arima
Top achievements
Rank 1
Arima asked on 31 Mar 2011, 09:40 AM
Hi Team

I am new to the telerik controls. I am using radchart control in my application. I am setting "month" column value as X axis position. the column "month" comes as the numeric value.(1,2 .. 12). I would like to display in the form of Jan, Feb, Mar and so on. Is there any property to do.

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 01 Apr 2011, 11:39 AM
Hi Arima,

You can follow this help topic to set custom strings as Axis Items Labels.
Contrary to this approach you can set DateTime values to the XAxis by converting them to OADate() as shown in our demo and set RadChart.XAxis.Appearance.ValueFormat so that the values are formatted to show only months names.

Regards,
Evgenia
the Telerik team
Tags
Chart (Obsolete)
Asked by
Arima
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or