Y-Axis Format

2 posts, 0 answers
  1. Baskar
    Baskar avatar
    9 posts
    Member since:
    Feb 2009

    Posted 30 Sep 2011 Link to this post

    Dear Expert

    i need to display the Y-Axis Value in the String Format,

    for example my collection has DateTime and int

    1 , 26-05-2011
    2, 27-05-2011
    3, 28-05-2011
    4, 29-05-2011

    Now in the above value i will set the item mapping as
                                        <telerik:ItemMapping FieldName="Date"  DataPointMember="XValue" />
                                        <telerik:ItemMapping FieldName="Value"    DataPointMember="YValue" />

    Now in the chart i need to display the Y-Axis , in the given format

    1=> North

    And i have attach the sample Png.

    Thanks in Advance
  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 03 Oct 2011 Link to this post

    Hi Baskar,

    Currently there is no way to bind the YAxis to a custom string value as it is made to be used as numerical axis. However you can specify custom YAxis items labels by following this help article. The example shown is for XAxis but the approach is absolutely the same for YAxis.

    Best wishes,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top