# Preventing X-Axis Labels from Being Skipped in XY Chart When Resizing

**URL:** <https://forum.inductiveautomation.com/t/preventing-x-axis-labels-from-being-skipped-in-xy-chart-when-resizing/98925>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 21, 2024, 11:30am UTC](https://forum.inductiveautomation.com/t/preventing-x-axis-labels-from-being-skipped-in-xy-chart-when-resizing/98925 "2024-11-21T11:30:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SOON\_HWAN\_WANG1](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@SOON\_HWAN\_WANG1](https://forum.inductiveautomation.com/u/SOON_HWAN_WANG1)\
**Post date:** [November 21, 2024, 11:30am UTC](https://forum.inductiveautomation.com/t/preventing-x-axis-labels-from-being-skipped-in-xy-chart-when-resizing/98925/1 "2024-11-21T11:30:23Z")

</div>

Hello,

I am currently using the XY Chart in Ignition Perspective. I noticed that when the size of the chart decreases (e.g., due to resizing), some of the labels on the x-axis are automatically omitted.

Is there a way to prevent this behavior and ensure that all x-axis labels are displayed regardless of the chart's size?

Thank you in advance for your assistance!

 ![스크린샷 2024-11-21 202749](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/e/ee655b8e8a9dbdee65b823e19e99746110ef1d95.png)  
This screenshot is from the Designer.

 ![스크린샷 2024-11-21 202735](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/0/70e61994a1084ddc1e7be61f814200c5ced3411f.png)  
This screenshot is from the Gateway.

---

<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 21, 2024, 12:11pm UTC](https://forum.inductiveautomation.com/t/preventing-x-axis-labels-from-being-skipped-in-xy-chart-when-resizing/98925/2 "2024-11-21T12:11:53Z")

</div>

Check the setting of `xAxes.0.appearance.grid.minDistance`. Make it smaller.

---

<div class="post-metadata">

**Author:** ![SOON\_HWAN\_WANG1](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@SOON\_HWAN\_WANG1](https://forum.inductiveautomation.com/u/SOON_HWAN_WANG1)\
**Post date:** [November 22, 2024, 1:43am UTC](https://forum.inductiveautomation.com/t/preventing-x-axis-labels-from-being-skipped-in-xy-chart-when-resizing/98925/3 "2024-11-22T01:43:58Z")

</div>

Thank you for your response! It works perfectly following your instructions
