# Graph x-axis changes after changing from "today" to "yesterday" time range

**URL:** <https://community.grafana.com/t/graph-x-axis-changes-after-changing-from-today-to-yesterday-time-range/45599>\
**Category:** Grafana\
**Created:** [April 5, 2021, 10:33am UTC](https://community.grafana.com/t/graph-x-axis-changes-after-changing-from-today-to-yesterday-time-range/45599 "2021-04-05T10:33:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ff69marcbaier](https://avatars.discourse-cdn.com/v4/letter/f/e8c25b/32.png) [@ff69marcbaier](https://community.grafana.com/u/ff69marcbaier)\
**Post date:** [April 5, 2021, 10:34am UTC](https://community.grafana.com/t/graph-x-axis-changes-after-changing-from-today-to-yesterday-time-range/45599/1 "2021-04-05T10:34:00Z")

</div>

I created a graph panel that shows the solar power creation of today which uses the time range “today” which is set on the overall dashboard time range settings. Now I would like to create the exact same panel that shows yesterdays values. I did this by copying the existing panel and by then entering "now-1d/d"in the query options in the new panel. However the new panel does not have the same x-axis as the old one / shows more hours of the day as the “today” panel.

Here is a link to a screenshot that shows the issue: [https://photos.app.goo.gl/dQJQ2kF8DtTEmriJA](https://photos.app.goo.gl/dQJQ2kF8DtTEmriJA)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [April 5, 2022, 10:34am UTC](https://community.grafana.com/t/graph-x-axis-changes-after-changing-from-today-to-yesterday-time-range/45599/2 "2022-04-05T10:34:37Z")

</div>

Closed on April 5, 2022, 10:34am UTC

This topic was automatically closed after 365 days. New replies are no longer allowed.
