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

yAxis title in vertical position

3 Answers 135 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Erika
Top achievements
Rank 1
Erika asked on 31 Oct 2014, 06:36 PM
¿How I can change to position vertical the text from yAxis?, because the horizontal form fill much space

3 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 03 Nov 2014, 11:30 AM
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.

 
0
Abubaker
Top achievements
Rank 1
answered on 20 Nov 2014, 05:52 AM
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.
0
Pavel Pavlov
Telerik team
answered on 20 Nov 2014, 08:46 AM
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.

 
Tags
Chart
Asked by
Erika
Top achievements
Rank 1
Answers by
Jack
Telerik team
Abubaker
Top achievements
Rank 1
Pavel Pavlov
Telerik team
Share this question
or