![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
I got somewhat used to clicking twice.. but it's a bit annoying. I do understand the rationale behind not doing it though. But it is probably weird to most people, especially if they didn't expect it to not show new data.
On 12/19/2014 09:49 AM, Adam Armstrong wrote:
We actually don't do this on purpose :)
It always used to irritate me that if I was looking at something and walked away for 6 hours, when I came back the time periods had changed.
I also don't like sending people URLs with relative timestamps in and having them look at a different graph. :D
adam.
------ Original Message ------ From: "Brendan Hide" brendan@swiftspirit.co.za To: observium@observium.org Sent: 12/19/2014 2:47:52 AM Subject: [Observium] Sliding window in graph views
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
-- __________ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium