3

When using the javascript timeline widget simile, i see there is hour, day, week, month, year intervals. Is there anyway to have an interval be a quarter of a year?

i am trying to group events into Quarter1, Q2, Q3, Q4 in 2010.

leora
  • 188,729
  • 360
  • 878
  • 1,366

1 Answers1

6

The Simile wiki has some notes on how to add new intervals to Timeline.DateTime by editing date-time.js and labelers.js. This would be one way to add support for a quarter of a year interval.

Looking at the source code repository for Simile timeline, there is also a planning extension to timeline that includes support for Timeline.PlanningUnit.QUARTER, which may already do what you want

Jamey Hicks
  • 2,340
  • 1
  • 14
  • 20