# simple_unstacked_timeline.js

var data1 = [
    {
        name: "person a", 
        value: [
            {start: 1355752800000, end: 1355759900000},
            {start: 1355767900000, end: 1355774400000}
        ]
    }, {
        name: "person b", 
        value: {start: 1355759910000, end: 1355761900000}
    }, {
        name: "person c", 
        value: {start: 1355761910000, end: 1355763910000}
    }
];

var options1 = {
    id: "demo1", 
    width: 1100, 
    height: 200,
    data: {
        plain: data1,
    },
    title: {
        text: "Simple Unstacked Timeline"
    },
    axis: {
        x: {
            tick: {
                format: d3.time.format("%I:%M %p") //https://github.com/d3/d3-3.x-api-reference/blob/master/Time-Formatting.md
            },
            label: {
                text: ""
            }
        }
    },
    stack: false //default value is true, hide icon or label if unstacked
};
var timeline = new C9.TimeLine(options1);
timeline.draw();