diff --git a/examples/timeline/01_basic.html b/examples/timeline/01_basic.html index a9b2c2df..5dc030e0 100644 --- a/examples/timeline/01_basic.html +++ b/examples/timeline/01_basic.html @@ -23,7 +23,7 @@ {id: 3, content: 'item 3', start: '2014-04-18'}, {id: 4, content: 'item 4', start: '2014-04-16', end: '2014-04-19'}, {id: 5, content: 'item 5', start: '2014-04-25'}, - {id: 6, content: 'item 6', start: '2014-04-27'} + {id: 6, content: 'item 6', start: '2014-04-27', type: 'point'} ]; var options = {}; var timeline = new vis.Timeline(container, items, options); diff --git a/examples/timeline/03_much_data.html b/examples/timeline/03_a_lot_of_data.html similarity index 98% rename from examples/timeline/03_much_data.html rename to examples/timeline/03_a_lot_of_data.html index 8a81e3f2..fc703309 100644 --- a/examples/timeline/03_much_data.html +++ b/examples/timeline/03_a_lot_of_data.html @@ -53,6 +53,7 @@ var container = document.getElementById('visualization'); var options = { + editable: true, start: now.clone().add('days', -3), end: now.clone().add('days', 11), zoomMin: 1000 * 60 * 60 * 24, // a day diff --git a/examples/timeline/11_points.html b/examples/timeline/11_points.html new file mode 100755 index 00000000..2e64e09c --- /dev/null +++ b/examples/timeline/11_points.html @@ -0,0 +1,57 @@ + + +
+Source: http://www.onwar.com/chrono/index.htm
+ + + + + + + diff --git a/examples/timeline/12_custom_styling.html b/examples/timeline/12_custom_styling.html new file mode 100644 index 00000000..0b184e5e --- /dev/null +++ b/examples/timeline/12_custom_styling.html @@ -0,0 +1,88 @@ + + + ++ When the custom time bar is shown, the user can drag this bar to a specific + time. The Timeline sends an event that the custom time is changed, after + which the contents of the timeline can be changed according to the specified + time in past or future. +
+ ++ Choose a number of items: + 100, + 1000, + 10000, + 100000 +
+
+ Current number of items: 100 +
+ + + + + + + diff --git a/examples/timeline/15_item_class_names.html b/examples/timeline/15_item_class_names.html new file mode 100755 index 00000000..43dd348f --- /dev/null +++ b/examples/timeline/15_item_class_names.html @@ -0,0 +1,115 @@ + + +This page demonstrates the Timeline with custom css classes for individual items.
+ + + + + + diff --git a/examples/timeline/index.html b/examples/timeline/index.html index 8372ce6a..122e148e 100644 --- a/examples/timeline/index.html +++ b/examples/timeline/index.html @@ -14,7 +14,7 @@ - + @@ -22,6 +22,11 @@ + + + + +