# Customise time display on Xaxis

**URL:** https://discuss.elastic.co/t/customise-time-display-on-xaxis/160565
**Category:** Kibana
**Created:** [December 12, 2018, 3:03pm UTC](https://discuss.elastic.co/t/customise-time-display-on-xaxis/160565 "2018-12-12T15:03:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![guillaumeL](https://avatars.discourse-cdn.com/v4/letter/g/e9c0ed/32.png) [@guillaumeL](https://discuss.elastic.co/u/guillaumeL)
#### Post date: [December 12, 2018, 3:03pm UTC](https://discuss.elastic.co/t/customise-time-display-on-xaxis/160565/1 "2018-12-12T15:03:13Z")

</div>

Hello,

I've noticed that when I do an aggregation on timestamps, the full date will not always be displayed. When interval is \> 60m the time is fully displayed with format`YYYY-MM-DD HH:mm` but when interval is small, it only displays `HH:mm` making it harder to know which day it was.  
Here is an illustration of the two cases, created with the `Errors count over time` visualization from [demo.elastic.co](http://demo.elastic.co) (so I guess it's the last version)

 ![kibana](https://us1.discourse-cdn.com/elastic/original/3X/d/1/d1edf0055197c4e19c2095205f049025da931bca.png)

Is there a way to customize the Xaxis timestamp display so that interval smaller than 60m can also have the date displayed ?

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [December 12, 2018, 11:03pm UTC](https://discuss.elastic.co/t/customise-time-display-on-xaxis/160565/2 "2018-12-12T23:03:40Z")

</div>

Hello Guillaume,

I suspect that chart display is optimizing over the intervals. @lukeelmers can we please get your input here?

I tried with field formatters but that didn't make a difference.

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)
#### Post date: [December 13, 2018, 11:53pm UTC](https://discuss.elastic.co/t/customise-time-display-on-xaxis/160565/3 "2018-12-13T23:53:53Z")

</div>

Unfortunately, I don't believe that this is something you can configure currently. Check out [this post on the topic](https://discuss.elastic.co/t/bar-chart-date-histogram-set-x-axis-to-yyyy-mm/55391/2) for more details.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [January 10, 2019, 11:54pm UTC](https://discuss.elastic.co/t/customise-time-display-on-xaxis/160565/4 "2019-01-10T23:54:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
