added support for configurable timeline 'granularity'