The only (currently) argument for Timeline Codeblocks is tags.

Breaking down the filters:

  • tags: the tags you want displayed on your timeline
  • startDate: where you want your timeline to initially start displaying
  • endDate: where you initially want your timeline to end
  • divHeight: how tall you would like the timeline to be
  • minDate: minimum end-cap to prevent scrolling or viewing before this date
  • maxDate: maximum end-cap to prevent scrolling or viewing after this date
  • zoomInLimit: the furthest in you will be able to zoom. See below for acceptable values
  • zoomOutLimit: the furthest out you will be able to zoom
  • type: horizontal-specific key. Pass flat in order to render a horizontal timeline

Acceptable values for filters:

  • startDate, endDate, minDate, maxDate: use the same format (YYYY-MM-DD-HH) as event date parameters
  • zoomInLimit:
    • You can either use the built-in timescales, or you can provide a value (in milliseconds) manually. Acceptable values are day, week, month-detail, month-vague, and year. Do not include to have no restrictions on zooming in (default behaviour).
      • day zooms down to one day, but still shows hours
      • week zooms down to about a week and shows the days of that week
      • month-detail zooms down to about a month and shows each of the days
      • month-vague zooms down to about a month but does not show the days
      • year zooms down to about a year and shows each of the months
  • zoomOutLimit:
    • requires a time, in milliseconds. One year is around 32140800000, the default value is 315360000000000, which is about 10,000 years