# How to change the time interval for chart display (X-axis) on Dashboard

**URL:** <https://discourse.nodered.org/t/how-to-change-the-time-interval-for-chart-display-x-axis-on-dashboard/86719>\
**Category:** Dashboard\
**Tags:** chart\
**Created:** [24 March 2024 19:08 UTC](https://discourse.nodered.org/t/how-to-change-the-time-interval-for-chart-display-x-axis-on-dashboard/86719 "2024-03-24T19:08:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iotdeveloper1](https://avatars.discourse-cdn.com/v4/letter/i/e9bcb4/32.png) [@iotdeveloper1](https://discourse.nodered.org/u/iotdeveloper1)\
**Post date:** [24 March 2024 19:08 UTC](https://discourse.nodered.org/t/how-to-change-the-time-interval-for-chart-display-x-axis-on-dashboard/86719/1 "2024-03-24T19:08:53Z")

</div>

I would like to allow the selection of the time range of the displayed data. The data is not stored anywhere, I wouldn't mind if after setting a longer range the older data would not be displayed, but would be gradually added.

Is it possible to specify the time range within the dahboard? E.g. using a dropdown node?

Something like this: [InfluxDB with Node-Red – Fun Tech Projects (funprojects.blog)](https://funprojects.blog/2020/02/01/influxdb-with-node-red/)  
but I don't know how and which parameter can change the X-axis range.

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 April 2024 19:09 UTC](https://discourse.nodered.org/t/how-to-change-the-time-interval-for-chart-display-x-axis-on-dashboard/86719/2 "2024-04-23T19:09:05Z")

</div>

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