Perspective: XY Chart label misalignment

Hi!

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

Skärmklipp

Any idea to fix this?

1 Like

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?

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

1 Like

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

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.

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

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.

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.

2 Likes