# Forcing time range

**URL:** <https://community.grafana.com/t/forcing-time-range/106684>\
**Category:** Grafana\
**Tags:** time-selection\
**Created:** [October 30, 2023, 2:51pm UTC](https://community.grafana.com/t/forcing-time-range/106684 "2023-10-30T14:51:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![layllong](https://avatars.discourse-cdn.com/v4/letter/l/9f8e36/32.png) [@layllong](https://community.grafana.com/u/layllong)\
**Post date:** [October 30, 2023, 2:51pm UTC](https://community.grafana.com/t/forcing-time-range/106684/1 "2023-10-30T14:51:58Z")

</div>

I need to separate a specific chart in a dashboard. The time range is used to adequate the time range of all the charts except one, that must be restricted to a specific time frame, next 4 hours in the future.

If I leave data as it is, the chat shows a “Data outside time frame” warning, with a button to readjust time limits. But if I press this button, the dashboard time frame changes and it’s applied to all the charts.

Any ideas? I’ve tried a non-existing “timeTo” parameter in the chart JSON, but no solution until now.

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [October 30, 2023, 4:08pm UTC](https://community.grafana.com/t/forcing-time-range/106684/2 "2023-10-30T16:08:57Z")

</div>

Welcome @layllong

What kind of data source are you using for that specific chart?

---

<div class="post-metadata">

**Author:** ![layllong](https://avatars.discourse-cdn.com/v4/letter/l/9f8e36/32.png) [@layllong](https://community.grafana.com/u/layllong)\
**Post date:** [October 30, 2023, 4:25pm UTC](https://community.grafana.com/t/forcing-time-range/106684/3 "2023-10-30T16:25:44Z")

</div>

MySQL Database. But it’s not related with the issue, as far as I know how to include in my query the dashboard variables. My problem is related directly to the limits min/max for the x-axis timeline.
