This is my dashboard. I want the 3 graphs at the top (temp/humidity, gauge, gauge), and the bottom left graph (weight) to honor the time range selected in the upper right. This works fine.
I also want the graph labeled ‘A’ (Beehive Weight (7d)) to ignore the time range and always show the previous 7 days aggregate. I can’t seem to get this working.
I think you already know this, but the way Grafana works is that you choose the time-range at the top of the screen, and then the visualizations use that time-range. With Flux queries, you assign the variables v.timeRangeStart and v.timeRangeEnd to be used in the chosen time picker range (in the top-right corner of the dashboard), like this:
Relative time (as explained here) is a setting that overrides the time picker range for individual panels, which causes them to be different than what is selected in the dashboard time picker.
Ahh. I never read that part on Relative time, and thus didn’t realize it was an override to the standard range selector. Thank you for the explanation.