Labels alignment of x-series

1 Answer 35 Views
Charts Styling
Claudio
Top achievements
Rank 1
Iron
Iron
Claudio asked on 26 Nov 2021, 04:00 PM

Hi All,

We have a problem with the labels alignment in the x-series of the chart. We would like the value of the series to be aligned with the end of the label and not with the center of it. In attached you can see, as an example, that the value 04/17 is not aligned at the end of the label 17/04 but is in the center.

Can you help us with this issue?

thank you so much in advance,

Claudio

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 01 Dec 2021, 02:03 PM

Hello Claudio,

You can set labels.rotation.align to "end":

categoryAxis: [{
      labels: {
        rotation: {
          angle: "auto",
          align: "end"
        }
      }
    }]

Let me know if you have any questions.

Regards,
Nikolay
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Charts Styling
Asked by
Claudio
Top achievements
Rank 1
Iron
Iron
Answers by
Nikolay
Telerik team
Share this question
or