Good day, all
When viewing graphs, I often find that we want to keep a specific graph open for a long period - days or weeks even, and preferably to view the most recent information.
A minor issue is that when clicking on the pre-provided thumbnails for the "6 Hours", "24 Hours", et al. graphs, it opens a specific time window. If the page is refreshed after a while, it shows old data rather than current data. A sliding window works already - just that probably very few people know about the "feature".
Two minor changes are required to have the thumbnail links refer to the sliding window: Exclude the to= parameter - it appears this defaults to now() Set the from= parameter to an offset
The following is an example of a 6-hour sliding window: https://<observium_host>/graphs/device=<devid>/type=device_processor/from=-14400