# I need to shift the x axis label in a trend

**URL:** <https://forum.inductiveautomation.com/t/i-need-to-shift-the-x-axis-label-in-a-trend/82089>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [November 18, 2023, 4:11pm UTC](https://forum.inductiveautomation.com/t/i-need-to-shift-the-x-axis-label-in-a-trend/82089 "2023-11-18T16:11:10Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 19, 2023, 11:33am UTC](https://forum.inductiveautomation.com/t/i-need-to-shift-the-x-axis-label-in-a-trend/82089/13 "2023-11-19T11:33:25Z")

</div>

I'm able to reproduce the XY Chart now, thanks.

I suspect that `rotate : 90` is rotating the label about the top left corner of the label and this is swinging it to the left of the rotation point. The XY Chart is based on AM Charts components and you can find some of the relevant documentation here:

[https://www.amcharts.com/docs/v4/concepts/axes/positioning-axis-elements/#Label\_rotation](https://www.amcharts.com/docs/v4/concepts/axes/positioning-axis-elements/#Label_rotation)

I can't see a way to modify the `verticalCenter` property through the XY Chart properties though.

@Ahmed_mohamed's solution may be the best workaround for now.

* * *

Comments:

- You can delete `xAxes.1` as it's not used.
- You can clean up the Percent graph by making the bullets transparent.  
`series.2.appearance.bullets.0.fill.opacity : 0`  
`series.2.appearance.bullets.0.stroke.opacity : 0`  
You need to leave them enabled if you wan the tooltip to appear.

You might be interested in some tooltip formatting that I figured out and shared in [Perspective XY Chart xAxes tooltip text {dateX}](https://forum.inductiveautomation.com/t/perspective-xy-chart-xaxes-tooltip-text-datex/53580).

---

_[View the full topic](https://forum.inductiveautomation.com/t/i-need-to-shift-the-x-axis-label-in-a-trend/82089)._
