Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The timeline is used forĀ  visualizing specific events on yearly time basis. Image RemovedThe controller name is "SimpleSwatTimeline" and can be added in panel with drag and drop.

The timeline can be horizontal or vertical. This customization can be set in the "Orientation" attribute, by mentioning "horizontal" or "vertical" as values.

Image Added

Image Modified

For data, the "templateOptions" attribute is used and it's an object which specifies which fields from the business entity to be used in the timeline. For example. You can specify the id, title, subtitle, date and description attributes.

Example:

Code Block
{"id": "id", "title": "selfno", "subtitle": "selfno", "date": "datecreated", "description": "selfdesc"}

...