Custom YAxis Title

2 posts, 0 answers
  1. Jérémy
    Jérémy avatar
    20 posts
    Member since:
    Feb 2015

    Posted 23 Apr 2015 Link to this post


    I wanna know if it's possible to "customize" the YAxis's Title like this :

    - I set the rotation value to "1" to put the Title in "hozitontaly mode" (may be is there a better way ?) and I want set 1 word by line in this title (because when the title is too long, it move the HtmlChart, and so the render is bad ..., as you can see on the attached file)

     - OR may be it's possible to put the Title above the Axis ?


    Thanks a lot,


  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 24 Apr 2015 Link to this post

    Hello Vallin,

    To rotate the title you can use the RotationAngle property. To offset the title you can use textstyle->padding property. For example:

        <TitleAppearance Text="some title" RotationAngle="1">
            <TextStyle Padding="-300 0 0 0" />

    Regarding wrapping the title you can use the "\n" line feed character, as illustrated here -

    Danail Vasilev

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top