# Center align columns in a XY Chart

**URL:** <https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 24, 2025, 10:59pm UTC](https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544 "2025-04-24T22:59:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyvski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kyvski/32/85590_2.png) [@kyvski](https://forum.inductiveautomation.com/u/kyvski)\
**Post date:** [April 24, 2025, 10:59pm UTC](https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544/1 "2025-04-24T22:59:05Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/2/a27d8a46648d4c3b99f8d7bb746e98c267292c0b.png)

Anyone know why I can't center the columns in my chart?  
I've looked everywhere on the forums and docs and can't figure it out.  
One series is too high, and one is too low.

The y data is just a name for each series.  
So the data itself shouldn't be creating the difference.

---

<div class="post-metadata">

**Author:** ![Jesse\_Dale\_Gimenez](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jesse_dale_gimenez/32/68763_2.png) [@Jesse\_Dale\_Gimenez](https://forum.inductiveautomation.com/u/Jesse_Dale_Gimenez)\
**Post date:** [April 25, 2025, 2:53am UTC](https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544/2 "2025-04-25T02:53:25Z")

</div>

how did you bind the data to this component?

---

<div class="post-metadata">

**Author:** ![kyvski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kyvski/32/85590_2.png) [@kyvski](https://forum.inductiveautomation.com/u/kyvski)\
**Post date:** [April 25, 2025, 10:23am UTC](https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544/3 "2025-04-25T10:23:26Z")

</div>

I don't think the binding itself would affect how it's displayed right?  
It sets the data to be a dataset like any XY Chart  
There's a column called 'name'  
And for the above there are 4 different names in the dataset (say A, B, A\_Notes, B\_Notes)  
Wouldn't this be a setting in the chart itself?  
Not sure if we have access to amchart-specific settings from within perspective

---

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [April 25, 2025, 10:52am UTC](https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544/4 "2025-04-25T10:52:56Z")

</div>

not sure is related,

In XY chart when X-axis content overlap or is not well aligned I switch it to Y-axis for better readibility

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

You may try do so if see the graph looks better.

---

<div class="post-metadata">

**Author:** ![kyvski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kyvski/32/85590_2.png) [@kyvski](https://forum.inductiveautomation.com/u/kyvski)\
**Post date:** [April 25, 2025, 11:33am UTC](https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544/5 "2025-04-25T11:33:40Z")

</div>

that's what my chart is already set to?  
the bars are horizontal not vertical

see your bars are evenly separated  
but mine are all mismatched

---

<div class="post-metadata">

**Author:** ![kyvski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kyvski/32/85590_2.png) [@kyvski](https://forum.inductiveautomation.com/u/kyvski)\
**Post date:** [April 25, 2025, 11:40am UTC](https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544/6 "2025-04-25T11:40:30Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/4/d49c4cf63498a49522c74826fd901e08a3afbe5e.png)  
so this hidden setting seems to somewhat help?  
it doesn't seem like I can use it to simply center each series  
but it moved it in a way that makes it look less bad

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/3/13752448f1435846671d46fdc2d6bee969b03e76.png)

---

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [April 25, 2025, 12:04pm UTC](https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544/7 "2025-04-25T12:04:59Z")

</div>

You may try touch XY parameters until you get something you like or start over step by step making sure it keeps the right format.

---

<div class="post-metadata">

**Author:** ![kyvski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kyvski/32/85590_2.png) [@kyvski](https://forum.inductiveautomation.com/u/kyvski)\
**Post date:** [April 25, 2025, 12:18pm UTC](https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544/8 "2025-04-25T12:18:25Z")

</div>

pretty sure this is just a looked over feature  
can you show me a stacked column chart on your end without the varying distances?

---

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [April 25, 2025, 12:22pm UTC](https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544/9 "2025-04-25T12:22:02Z")

</div>

Never did stacked column chart.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/0/004bdf4fa85846b1d1eaa1dcb3c66e68f6c3b622.png)

this one I did using 3 different series

---

<div class="post-metadata">

**Author:** ![kyvski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kyvski/32/85590_2.png) [@kyvski](https://forum.inductiveautomation.com/u/kyvski)\
**Post date:** [April 25, 2025, 12:31pm UTC](https://forum.inductiveautomation.com/t/center-align-columns-in-a-xy-chart/105544/10 "2025-04-25T12:31:30Z")

</div>

ok but that's not what i'm doing  
it needs to be a stacked horizontal chart
