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

Long rotated horizontal labels not alligned well

3 Answers 72 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Michel
Top achievements
Rank 1
Michel asked on 06 Feb 2017, 11:22 AM

I created a bar chart with a horizontal categorical axis. Since my labels are long I used the LabelFitMode="Rotate" mode. According to the documentation labels are rotated around the top left corner. See http://docs.telerik.com/devtools/xamarin/controls/chart/axes/axes-overview#labels-style-and-position .

But it seems to me they are rotated around the center of the label which causes the impression that labels are aligned with the next bar. See the screenshot. The labels should be rotated around the upper right corner or this should be a property that can be set. Now labels are show under the wrong bar, they have an offset of one and the fist bar has no label. The end of the first label "Animals on farm" should be aligned under the first bar.

Any thought on this?

 

Regards,

Michel

3 Answers, 1 is accepted

Sort by
0
Michel
Top achievements
Rank 1
answered on 07 Feb 2017, 08:17 AM

On IOS it is the same issue. See screenshot

0
Accepted
Ves
Telerik team
answered on 09 Feb 2017, 09:07 AM
Hi Michel,

You are right -- the labels are rotated around the center, the documentation is not correct here. I am afraid, it is not possible to customize this at the moment. I have logged your request in our feedback portal, so you can vote for it and follow it.

Best regards,
Ves
Telerik by Progress
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
Michel
Top achievements
Rank 1
answered on 09 Feb 2017, 09:44 AM

Hi
This confirms my presumption. Now LabelFitMode="Rotate" is more or less useless. For short labels we don't need it and for long labels it won't align well. It means the whole bar chart is not really usable for my situation.

Anyway I hope this will be fixed.

Thanks Michel

 

Tags
Chart
Asked by
Michel
Top achievements
Rank 1
Answers by
Michel
Top achievements
Rank 1
Ves
Telerik team
Share this question
or