yAxis title in vertical position

4 posts, 0 answers
  1. Erika
    Erika avatar
    6 posts
    Member since:
    Jun 2014

    Posted 31 Oct 2014 Link to this post

    ¿How I can change to position vertical the text from yAxis?, because the horizontal form fill much space
  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 03 Nov 2014 Link to this post

    Hi Erika,

    You can do this by setting the rotationAngle property of TKChartAxisTitleStyle. Consider the following sample:
    _chart.yAxis.title = @"Axis title";
    _chart.yAxis.style.titleStyle.rotationAngle = M_PI_2;

    Should you have other questions, we will be glad to assist.

    Regards,
    Jack
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
  4. Abubaker
    Abubaker avatar
    7 posts
    Member since:
    Sep 2014

    Posted 19 Nov 2014 in reply to Jack Link to this post

    I cannot find the rotationAngle property in titleStyle. Can you help me with this.

    I want to change the x and y axis title names to be horizontal or vertical depending on the number of columns in a chart.
  5. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 20 Nov 2014 Link to this post

    Hello Erika ,

    Please ensure you have downloaded and you are  using the latest version as some older versions may not contain the property.
    In case you are already with with the latest version  just let me know and I will gather a small xCode project sample for you.

    Regards,
    Pavel Pavlov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
DevCraft banner