From 981ba122826efc831b01a69dc617795e3c6ad477 Mon Sep 17 00:00:00 2001 From: josdejong Date: Fri, 10 Jan 2014 10:46:16 +0100 Subject: [PATCH] Extended timeline example 04 --- examples/timeline/04_html_data.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/timeline/04_html_data.html b/examples/timeline/04_html_data.html index c01dbfcc..48ed4dd2 100644 --- a/examples/timeline/04_html_data.html +++ b/examples/timeline/04_html_data.html @@ -52,6 +52,8 @@ var item6 = 'item6
'; + var item7 = 'item7
click here'; + // create data and a Timeline var container = document.getElementById('visualization'); var items = [ @@ -60,7 +62,8 @@ {id: 3, content: item3, start: '2013-04-18'}, {id: 4, content: item4, start: '2013-04-16', end: '2013-04-19'}, {id: 5, content: item5, start: '2013-04-25'}, - {id: 6, content: item6, start: '2013-04-27'} + {id: 6, content: item6, start: '2013-04-27'}, + {id: 7, content: item7, start: '2013-04-21'} ]; var options = {}; var timeline = new vis.Timeline(container, items, options);