# Dashboard graphs have no data depending on time frame selected

**URL:** <https://community.netdata.cloud/t/dashboard-graphs-have-no-data-depending-on-time-frame-selected/7277>\
**Category:** Help\
**Tags:** cloud, dashboard, ui\
**Created:** [February 6, 2025, 5:13am UTC](https://community.netdata.cloud/t/dashboard-graphs-have-no-data-depending-on-time-frame-selected/7277 "2025-02-06T05:13:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![route-dist](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@route-dist](https://community.netdata.cloud/u/route-dist)\
**Post date:** [February 6, 2025, 5:13am UTC](https://community.netdata.cloud/t/dashboard-graphs-have-no-data-depending-on-time-frame-selected/7277/1 "2025-02-06T05:13:11Z")

</div>

## Problem/Question

Given a graph (`app.cpu_utilization` in my case) and same time frame selected, the graph that is displayed when viewed in the node - **has data** , whereas the same graph displayed in the dashboard **does not have data**.

This tends to happen when selecting custom time frames (_select and zoom_).

There are graphs that are not affected by it, and there are graphs that are prone to it.

I believe all the graphs in `Processes` (Apps, Users, Groups) are affected by it.

Example shown below:

`app.cpu_utilization` in node tab

 ![Screenshot 2025-02-06 at 15.21.50](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/e/eeff3e3f5a19b3c386de38d4369afb9a6b79c2e4.png)

`app.cpu_utilization` in custom dashboard tab

 ![Screenshot 2025-02-06 at 15.20.43](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/a/aad6f9aece408eb9fcc714dafe7b311458a7c646.png)

`app.cpu_utilization` in custom dashboard tab with different time frame selected

 ![Screenshot 2025-02-06 at 15.32.24](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/e/eccae9cbf4220bff08449e027a73bf13b37ca7dd.png)

## Relevant docs you followed

- [Dashboards Tab | Learn Netdata](https://learn.netdata.cloud/docs/dashboards-and-charts/dashboards-tab)

## Environment/Browser/Agent’s version etc

- Browsers
  - Chrome Version 132.0.6834.160
  - Opera One (version: 116.0.5366.71)
  - Firefox 134.0.2

- OS:
  - MacOS 15.2

- Nedata agent:
  - Version: v2.2

## What I expected to happen

No missing data in dashboard graphs when using custom time frames

---

<div class="post-metadata">

**Author:** ![novykh](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/novykh/32/829_2.png) [@novykh](https://community.netdata.cloud/u/novykh)\
**Post date:** [February 6, 2025, 3:33pm UTC](https://community.netdata.cloud/t/dashboard-graphs-have-no-data-depending-on-time-frame-selected/7277/2 "2025-02-06T15:33:16Z")

</div>

Hello, I can see in the second image that the nodes are selected `0 from 1`. I believe you have globally selected a node, but then you added the chart from another node and the global selected node doesn’t have data or doesn’t have the context at all.  
This happens because the dashboards are (till now) fluid regarding nodes. So adding a chart it’s not coupled with the pre-selected nodes. So, if you select globally the node that has the context then it will work right away.

This is a feature not a bug, but since it feels like a bug and looks like a bug I decided to give you the best of 2 worlds.  
 ![Screenshot 2025-02-06 at 5.10.56 PM](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/b/bb228c62ae817accf02a62d7357907ae51a0daa6.png)

In the next release, this toggle will appear on all the custom dashboards, where you can easily choose between using the preselected nodes (from when you added the chart) or disregard the pre-selection of nodes and behave like today. The value will be saved along with each dashboard and the default behaviour will be to respect the pre-selected nodes of when you added the chart.

Let me share why we did have this behaviour. We have seen it again and again, dashboards becoming obsolete once the nodes associated with them were going stale or offline. But the users still needed the dashboard to work, but only with different selections. This was easily accomplished with how it is today. But you found the edge case, so well done 😃

Please, share if the feature helps you and of course if you find any other issues.

---

<div class="post-metadata">

**Author:** ![route-dist](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@route-dist](https://community.netdata.cloud/u/route-dist)\
**Post date:** [February 6, 2025, 10:02pm UTC](https://community.netdata.cloud/t/dashboard-graphs-have-no-data-depending-on-time-frame-selected/7277/3 "2025-02-06T22:02:36Z")

</div>

Hi @novykh ,

Thanks for looking into this.

I think we are heading down the right track. It’s definitely something to do with the node being selected/de-selected. But I think it’s not exactly as how you described.

When graph has data, the node is shown as a _named_ node:

 ![Screenshot 2025-02-07 at 08.49.26](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/b/b6703442cb49bd4ecbcaafad862ede604a2aa995.png)

When graph has no data, the node is just represented by an id:

 ![Screenshot 2025-02-07 at 08.45.42](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/1/14dc63decfdf7ebf4d17899bbcfe4448589800fd.png)

Only the selected node loses its _named_ status, the other non-selected nodes are not affected.

I would like to note again that this only happens when in the zoomed in state. Generally OK in the pre-configured time frames.

---

<div class="post-metadata">

**Author:** ![route-dist](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@route-dist](https://community.netdata.cloud/u/route-dist)\
**Post date:** [February 7, 2025, 1:20am UTC](https://community.netdata.cloud/t/dashboard-graphs-have-no-data-depending-on-time-frame-selected/7277/4 "2025-02-07T01:20:12Z")

</div>

I can now see the “Sync charts with global nodes” and can confirm that toggling it **on** hasn’t resolved the issue.

---

<div class="post-metadata">

**Author:** ![novykh](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/novykh/32/829_2.png) [@novykh](https://community.netdata.cloud/u/novykh)\
**Post date:** [February 7, 2025, 9:43am UTC](https://community.netdata.cloud/t/dashboard-graphs-have-no-data-depending-on-time-frame-selected/7277/5 "2025-02-07T09:43:21Z")

</div>

Yep, reproduced it and passed it to the backend team to check why they are responding with wrong data.  
In my case, using the toggle:

1. I was getting data when the toggle was off and the chart was using the single node selected
2. I was getting NO-data when the toggle was on and it was using all the room nodes. Including the single node in the collection of ids.

Thank you for sharing the issue and details, we will be back asap on this.

---

<div class="post-metadata">

**Author:** ![Juan](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/juan/32/2668_2.png) [@Juan](https://community.netdata.cloud/u/Juan)\
**Post date:** [February 7, 2025, 1:07pm UTC](https://community.netdata.cloud/t/dashboard-graphs-have-no-data-depending-on-time-frame-selected/7277/6 "2025-02-07T13:07:40Z")

</div>

hi @route-dist ,

thanks for reporting this issue.

We identified and fixed a bug in our aggregation process that was likely causing your issue.

Could you please verify that the charts are loading properly now?

best,  
Juan

---

<div class="post-metadata">

**Author:** ![route-dist](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@route-dist](https://community.netdata.cloud/u/route-dist)\
**Post date:** [February 7, 2025, 10:29pm UTC](https://community.netdata.cloud/t/dashboard-graphs-have-no-data-depending-on-time-frame-selected/7277/7 "2025-02-07T22:29:28Z")

</div>

Thanks @Juan ,

It appears that the issue is resolved. Thanks for your prompt response.
