You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
Ability to view a timeshifted comparison between the current selected interval and the same interval at some time in the past. For example, being able to compare the most recent one hour of data against one hour from two weeks prior.
Proposed Implementation
Enabling timeshift mode
There would be a new toolbar icon to toggle timeshift mode. When enabled, a secondary toolbar "well" (in Bootstrap terminology) would open with visual tips to make it obvious we're in the alternate mode. Inside the well we'd have a new interval selector to choose the timeshift interval.
Selecting the timeshift interval
Upon clicking one of the intervals (e.g. 2w), we fire off one concatenated Graphite query to determine the max and min values for each of the graphs on the page. Once we've obtained these thresholds we request two versions of each graph: the "current" version and the "timeshifted" version. Both will use the same min/max values to ensure they're presented on the same scale. The "timeshifted" graph will be set to opacity: 0 and the "current" graph will be set to opacity: 1.
Timeshifting
A horizontal slider will exist in the timeshift control panel. By default the slider will be all the way to the right, representing full opacity for the "current" graphs. Moving the slider to the left will gradually adjust the opacity of each image; when the slider is in the middle, all graphs will render at opacity: 0.5; all the way to the left, the "timeshifted" graphs will be fully visible and the "current" graphs will be fully transparent.
The text was updated successfully, but these errors were encountered:
i wonder which UI features you'ld like that would warrant an extra toolbar?
I would just provide an interval selector on the actual graph itself. by default it would say none but you can just choose an other interval.
with timeserieswidget I already have a tiny html form right under the legend, that could fit an extra widget
@Dieterbe It goes beyond simply adding a toolbar for the sake of adding buttons. It needs to be visibly obvious that we've entered a new mode for the sake of usability. You may think it's ok to start tacking selectors on each graph, but I do not. That sort of duplication is unnecessary, particularly when all of the graphs are supposed to be viewed with the same context.
In fact, thank you for mentioning it. I made a mistake in proposing a slider associated with each graph. That should exist in the "timeshift control panel" as well. I will update the description accordingly.
Overview
Ability to view a timeshifted comparison between the current selected interval and the same interval at some time in the past. For example, being able to compare the most recent one hour of data against one hour from two weeks prior.
Proposed Implementation
Enabling timeshift mode
There would be a new toolbar icon to toggle timeshift mode. When enabled, a secondary toolbar "well" (in Bootstrap terminology) would open with visual tips to make it obvious we're in the alternate mode. Inside the well we'd have a new interval selector to choose the
timeshift interval
.Selecting the timeshift interval
Upon clicking one of the intervals (e.g.
2w
), we fire off one concatenated Graphite query to determine the max and min values for each of the graphs on the page. Once we've obtained these thresholds we request two versions of each graph: the "current" version and the "timeshifted" version. Both will use the same min/max values to ensure they're presented on the same scale. The "timeshifted" graph will be set toopacity: 0
and the "current" graph will be set toopacity: 1
.Timeshifting
A horizontal slider will exist in the timeshift control panel. By default the slider will be all the way to the right, representing full opacity for the "current" graphs. Moving the slider to the left will gradually adjust the opacity of each image; when the slider is in the middle, all graphs will render at
opacity: 0.5
; all the way to the left, the "timeshifted" graphs will be fully visible and the "current" graphs will be fully transparent.The text was updated successfully, but these errors were encountered: