Note: The wording of this description has been adjusted after 62541a9. Please note this reflects the current state, but does not match this patch.
The new scenario parameter mode can have one of two values:
window will slide a window through the defined time range
cumulative will use a fixed start time and stepwise expand the end time
While window was hardcoded beforehand, you can now also use cumulative. It is a suitable flavor when aiming to demonstrate the progress of a timeseries starting at a fixed point in time.
Note: The wording of this description has been adjusted after 62541a9. Please note this reflects the current state, but does not match this patch.
The new scenario parameter
mode
can have one of two values:window
will slide a window through the defined time rangecumulative
will use a fixed start time and stepwise expand the end timeWhile
window
was hardcoded beforehand, you can now also usecumulative
. It is a suitable flavor when aiming to demonstrate the progress of a timeseries starting at a fixed point in time.Example:
https://github.com/panodata/grafanimate/blob/7efec10c2eccf26557bfcc25b38dbc311bccf086/grafanimate/scenarios.py#L38-L49
/cc @wetterfrosch