This question is locked. New answers and comments are not allowed.
Christopher
Top achievements
Rank 1
Christopher
asked on 15 May 2015, 01:20 PM
I am currently trying to set the position of the title on a TKChart, however, i can only set it to one of the four TKChartTitlePosition.
There is a TKChartTitleStyle class, however, it is empty and simply extends a common base class and adds no further functionality.
Is there anyway to simply centre align the Chart Title?
Chris
5 Answers, 1 is accepted
0
Hi Christopher,
Thank you for contacting us.
Please, find my answer in your other support ticket.
Regards,
Adrian
Telerik
Thank you for contacting us.
Please, find my answer in your other support ticket.
Regards,
Adrian
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
Fabrizio
Top achievements
Rank 1
answered on 30 Nov 2015, 11:18 AM
Hi,
i'm interested too in how to center chart title.
Is it possible?
Thanks,
Fabrizio
0
Christopher
Top achievements
Rank 1
answered on 30 Nov 2015, 01:02 PM
The position property of TKChartTitleView is used to determine on which side of the chart the title should be displayed - left, right, top or bottom. If you need to align the title you should use its textAlignment property instead. Please consider the code snippet below:
chart
.title
()
.textAlignment
=
NSTextAlignment
.Center
0
Fabrizio
Top achievements
Rank 1
answered on 30 Nov 2015, 02:06 PM
Thank you, Christopher
0
Hi, Fabrizio,
Indeed the way to center the chart's title is to set its textAlignment property, like Christopher pointed.
Christopher, thank you for the cooperation.
Regards,
Adrian
Telerik
Indeed the way to center the chart's title is to set its textAlignment property, like Christopher pointed.
Christopher, thank you for the cooperation.
Regards,
Adrian
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items