i built a small grafana panel for visualising my PV system.
To show the power distribution over time for today i selected a time series graph, but can’t figure out to set the graph to only show the area with actual data or a set time, e.g. from 5 in the morning to 9 in the evening. The only way i come close is set some relative time from now, or the entire day (24h) in the query options which is a waste of space because the sun is not shining at night
Can someone help me out how to configure my graph to only show a fixed time frame of the day? (My global Dashboard is set to show the last hour)
Flux has hundreds of functions that are not available in InfluxQL (plus you can define / build your own). The hourSelection function would be perfect for your application, but unfortunately it’s only available in Flux.
You can achieve this by setting a custom time range for that specific panel. In the panel settings, go to Overrides and use the Time range option to define a fixed window, like 05:00 - 21:00 shades conroe tx. This way, your graph will only display data from that period without affecting the global dashboard settings.