Description

The Timeline directive

Usage

as element:
<chart:timeline
       response="{object}"
       date="{string}"
       event="{string}"
       [milestone-grouping="{string}"]
       [orientation="{string}"]
       [max-width="{string}"]
       [max-height="{string}"]
       [query="{object}"]
       [platform="{string}"]>
</chart:timeline>

Directive info

  • This directive creates new scope.

Parameters

ParamTypeDetails
responseobjectA response object
datestringThe result field to use as a date for the timeline
eventstringThe result field to use for the event content
milestoneGrouping (optional)stringHow to group the milestones i.e. year (yyyy), month (MM)
orientation (optional)stringThe orientation of the timeline. (horizontal or vertical. Default vertical)
maxWidth (optional)stringSet max width of timeline container
maxHeight (optional)stringSet max height of timeline container
query (optional)objectQuery object to fetch more results
platform (optional)stringPlatform to query for more results