# XY Chart - Force X-Axis grid interval

**URL:** <https://forum.inductiveautomation.com/t/xy-chart-force-x-axis-grid-interval/97296>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 16, 2024, 8:06am UTC](https://forum.inductiveautomation.com/t/xy-chart-force-x-axis-grid-interval/97296 "2024-10-16T08:06:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aiasa21](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Aiasa21](https://forum.inductiveautomation.com/u/Aiasa21)\
**Post date:** [October 16, 2024, 8:06am UTC](https://forum.inductiveautomation.com/t/xy-chart-force-x-axis-grid-interval/97296/1 "2024-10-16T08:06:35Z")

</div>

Good morning,

I'm using an XY chart and the Xaxis is set to 'date'.  
What I need to do is fix the grid every hour, I try to play with the `minDistance` property but actually it works as "it wants", depending on the width of the XY chart.

I simply need to show the grid every 1 hour, is it possible to do it?

Thank you
