Long rotated horizontal labels not alligned well

4 posts, 1 answers
  1. Michel
    Michel avatar
    18 posts
    Member since:
    Oct 2016

    Posted 06 Feb Link to this post

    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

  2. Michel
    Michel avatar
    18 posts
    Member since:
    Oct 2016

    Posted 07 Feb in reply to Michel Link to this post

    On IOS it is the same issue. See screenshot

  3. Answer
    Ves
    Admin
    Ves avatar
    2906 posts

    Posted 09 Feb Link to this post

    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
  4. Michel
    Michel avatar
    18 posts
    Member since:
    Oct 2016

    Posted 09 Feb Link to this post

    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

     

Back to Top