thymeline
v0.0.3
Published
Timeline SVG graph generator
Downloads
1
Readme
Install
npm install thymeline --save
or
yarn add thymeline --save
Quick Guide
Basic Usage
const events = [
{
start: 1000,
stop: 5000,
startLabel: '11:30',
stopLabel: '10:40',
label: 'eventlabel',
},
{
start: 5000,
stop: 7000,
},
{
start: 3000,
stop: 9000,
},
];
const generator = new TimelineGenerator(1000, 10000, events);
let graph = generator.generate();