# Perspective: XY Chart label misalignment

**URL:** <https://forum.inductiveautomation.com/t/perspective-xy-chart-label-misalignment/38932>\
**Category:** Ignition\
**Created:** [September 22, 2020, 1:11pm UTC](https://forum.inductiveautomation.com/t/perspective-xy-chart-label-misalignment/38932 "2020-09-22T13:11:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonasuppling](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jonasuppling](https://forum.inductiveautomation.com/u/jonasuppling)\
**Post date:** [September 22, 2020, 1:11pm UTC](https://forum.inductiveautomation.com/t/perspective-xy-chart-label-misalignment/38932/1 "2020-09-22T13:11:54Z")

</div>

Hi!

I have positioning problem with label (timestamp) on the x-axis.

![Skärmklipp](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/1/617b04b70c1ce5289a1a2c0225dd4d3dcde587ae.jpeg)

Any idea to fix this?

---

<div class="post-metadata">

**Author:** ![mleefers](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@mleefers](https://forum.inductiveautomation.com/u/mleefers)\
**Post date:** [October 29, 2020, 3:41pm UTC](https://forum.inductiveautomation.com/t/perspective-xy-chart-label-misalignment/38932/2 "2020-10-29T15:41:03Z")

</div>

I have a similar problem. I want the dates to line up with the middle of the bars but they line up with the grid lines. I have tried moving the grid all over the place but can’t seem to get the labels to move. Is there a way to edit the configuration for the underlying amchart instance?

 ![xyChartLabels](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/e/ee404fe9d16633960957004638df0ffa00a03b39.png)

---

<div class="post-metadata">

**Author:** ![r.p](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@r.p](https://forum.inductiveautomation.com/u/r.p)\
**Post date:** [July 23, 2021, 12:14pm UTC](https://forum.inductiveautomation.com/t/perspective-xy-chart-label-misalignment/38932/3 "2021-07-23T12:14:52Z")

</div>

I opened a similar question and just found out this thread, here is the link to my thread just in case someone is still interested: [https://forum.inductiveautomation.com/t/perspective-power-chart-x-axis-vertical-alignment-wrong/49126/4](https://forum.inductiveautomation.com/t/perspective-power-chart-x-axis-vertical-alignment-wrong/49126/4)

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [July 23, 2021, 12:21pm UTC](https://forum.inductiveautomation.com/t/perspective-xy-chart-label-misalignment/38932/4 "2021-07-23T12:21:44Z")

</div>

@r.p  
did it work? i saw you linked it but you didnt mark the original as solved yet^^

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [September 19, 2022, 8:01pm UTC](https://forum.inductiveautomation.com/t/perspective-xy-chart-label-misalignment/38932/5 "2022-09-19T20:01:02Z")

</div>

I see this original post is from Sep 2020.

I am using Ignition 8.1.0 and wondered how you got the text to be vertical for the x axis.

---

<div class="post-metadata">

**Author:** ![schenk](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@schenk](https://forum.inductiveautomation.com/u/schenk)\
**Post date:** [September 19, 2022, 9:39pm UTC](https://forum.inductiveautomation.com/t/perspective-xy-chart-label-misalignment/38932/6 "2022-09-19T21:39:46Z")

</div>

Change `props.xAxes[0].appearance.labels.rotation` to the angle you want.

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [September 20, 2022, 1:19pm UTC](https://forum.inductiveautomation.com/t/perspective-xy-chart-label-misalignment/38932/7 "2022-09-20T13:19:41Z")

</div>

If you don’t have that yet, is there another way?  
I am in 8.1.0

Though I was expecting an update to 8.1.18 this month, it has been delayed.

I thought maybe because the post was in 2020, it might have been in a version before the rotate property was added.

---

<div class="post-metadata">

**Author:** ![schenk](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@schenk](https://forum.inductiveautomation.com/u/schenk)\
**Post date:** [September 20, 2022, 2:26pm UTC](https://forum.inductiveautomation.com/t/perspective-xy-chart-label-misalignment/38932/8 "2022-09-20T14:26:07Z")

</div>

I started up a container with 8.1.0 and was able to add the `.rotation` key manually. It complains that it’s not found in the schema, but it works.
