# Format date time text for x-axis on XY Chart

**URL:** <https://forum.inductiveautomation.com/t/format-date-time-text-for-x-axis-on-xy-chart/44430>\
**Category:** Ignition\
**Created:** [March 13, 2021, 1:21am UTC](https://forum.inductiveautomation.com/t/format-date-time-text-for-x-axis-on-xy-chart/44430 "2021-03-13T01:21:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.narvais](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@alex.narvais](https://forum.inductiveautomation.com/u/alex.narvais)\
**Post date:** [March 13, 2021, 1:21am UTC](https://forum.inductiveautomation.com/t/format-date-time-text-for-x-axis-on-xy-chart/44430/1 "2021-03-13T01:21:43Z")

</div>

How can I format the date time text on the xy-chart, because I’m having overlapping issues between the date and time. The format I’m using is “M/d/yyyy HH:mm:ss” and I’d like to stick with this format.  
Adding some type of break might help something like this:

“M/d/yyyy  
HH:mm:ss”

Whatever helps with formatting?

 ![XY_DateTime](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/e/aef93d31b4357a85755ab73683eda96597c0efcf.png)
