Display custom format in x-axis

Thread is closed for posting
2 posts, 0 answers
  1. Arima
    Arima avatar
    25 posts
    Member since:
    Mar 2011

    Posted 31 Mar 2011 Link to this post

    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.
  2. Evgenia
    Admin
    Evgenia avatar
    1437 posts

    Posted 01 Apr 2011 Link to this post

    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
Back to Top