# Set timestamp value in chart

**URL:** <https://discourse.nodered.org/t/set-timestamp-value-in-chart/3899>\
**Category:** Dashboard\
**Created:** [11 October 2018 14:54 UTC](https://discourse.nodered.org/t/set-timestamp-value-in-chart/3899 "2018-10-11T14:54:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abra](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/abra/32/3443_2.png) [@abra](https://discourse.nodered.org/u/abra)\
**Post date:** [11 October 2018 14:54 UTC](https://discourse.nodered.org/t/set-timestamp-value-in-chart/3899/1 "2018-10-11T14:54:30Z")

</div>

I would like to manually set in a chart not only the value (Y-axis) but also the the time-stamp (X-axis) corresponding to the value. My application is continuously receiving value/timestamp pairs form an external device, and I would like to keep that timestamp when adding the value to the chart, instead of letting the chart to set automatically the timestamp.  
Is it possible to do this?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [11 October 2018 17:58 UTC](https://discourse.nodered.org/t/set-timestamp-value-in-chart/3899/2 "2018-10-11T17:58:19Z")

</div>

Yes if you read [https://github.com/node-red/node-red-dashboard/blob/master/Charts.md](https://github.com/node-red/node-red-dashboard/blob/master/Charts.md)

---

<div class="post-metadata">

**Author:** ![abra](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/abra/32/3443_2.png) [@abra](https://discourse.nodered.org/u/abra)\
**Post date:** [12 October 2018 11:05 UTC](https://discourse.nodered.org/t/set-timestamp-value-in-chart/3899/3 "2018-10-12T11:05:36Z")

</div>

Thanks, that is was I was looking for.  
How could the x-axis label be customised to show for instance also the date (YY-MM-DD) additionally to the time HH:mm:ss?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [12 October 2018 12:40 UTC](https://discourse.nodered.org/t/set-timestamp-value-in-chart/3899/4 "2018-10-12T12:40:19Z")

</div>

just set the x-axis label however you want - including full custom  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/81f747d82346f8321efed53dbb03043ce7c591eb.png)
