Interface

The timeline chart component takes two parameters:

timeline(targetId, options);

The targetId is the id of the Element which the compnent should be inserted into. The containing element will remain.

The options parameter is an object of the following form. This is documented in the test.js file, which also exports some generated test data: