Returns the timeline's bucket width for a window: the first step that fits the window in the maximum number of buckets, else the widest step.
the window, in seconds
the bucket width, in seconds
Returns the timeline's bucket width for a window: the first step that fits the window in the maximum number of buckets, else the widest step.