Index | OAT homepage | OpenLink Software

timeline.js

timeline.js

Draggable timeline.

Objects

OAT.Timeline(contentDiv, options)

Creates a Timeline inside contentDiv. The options may include:

Methods

OAT.Timeline.addBand(name, color, label)

Adds a data band to chart. The band is identified by name, drawn in color, and labeled with label.

OAT.Timeline.addEvent(bandName, startTime, endTime, content, color)

Adds new event to Timeline, respective to its bandb and Name.startTime and endTime are data-time strings formatted as YYYY-MM-DDThh-mm-ss. (*ToBeDone? - verify preceding sentence!* ) endTime can be false, when the event has no duration.content is a HTML element;coloris a background color for time strip (only when endTime is not false).

OAT.Timeline::draw()

Draws the timeline.

CSS Classes

OAT.Timeline.timeline

ToBeDone

OAT.Timeline.timeline_port

ToBeDone

OAT.Timeline.timeline_slider

ToBeDone

Example

ToBeDone
Copyright (C) 2005-2009 OpenLink Software