diff --git a/HISTORY.md b/HISTORY.md index 5a4503aa..f2d5ef25 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -25,12 +25,12 @@ http://visjs.org - A DataSet can now be constructed with initial data, like `new DataSet(data, options)`. - ### Graph - added recalculate hierarchical layout to update node event. - added arrowScaleFactor to scale the arrows on the edges. + ## 2014-04-18, version 0.7.4 ### Graph diff --git a/examples/timeline/02_dataset.html b/examples/timeline/02_dataset.html index c15e9c7b..6947376f 100644 --- a/examples/timeline/02_dataset.html +++ b/examples/timeline/02_dataset.html @@ -19,9 +19,6 @@ } - - - @@ -29,8 +26,6 @@
+ +

- Test with a lot of data + Test with a lot of data

- - - + + +

\ No newline at end of file diff --git a/examples/timeline/09_order_groups.html b/examples/timeline/09_order_groups.html index 22dcbb36..ef588668 100644 --- a/examples/timeline/09_order_groups.html +++ b/examples/timeline/09_order_groups.html @@ -34,12 +34,12 @@ // create a dataset with items var items = new vis.DataSet([ - {id: 0, group: 0, content: 'item 0', start: new Date(2014, 3, 17)}, - {id: 1, group: 0, content: 'item 1', start: new Date(2014, 3, 19)}, - {id: 2, group: 1, content: 'item 2', start: new Date(2014, 3, 16)}, - {id: 3, group: 1, content: 'item 3', start: new Date(2014, 3, 23)}, - {id: 4, group: 1, content: 'item 4', start: new Date(2014, 3, 22)}, - {id: 5, group: 2, content: 'item 5', start: new Date(2014, 3, 24)} + {id: 0, group: 0, content: 'item 0', start: new Date(2014, 3, 17), end: new Date(2014, 3, 21)}, + {id: 1, group: 0, content: 'item 1', start: new Date(2014, 3, 19), end: new Date(2014, 3, 20)}, + {id: 2, group: 1, content: 'item 2', start: new Date(2014, 3, 16), end: new Date(2014, 3, 24)}, + {id: 3, group: 1, content: 'item 3', start: new Date(2014, 3, 23), end: new Date(2014, 3, 24)}, + {id: 4, group: 1, content: 'item 4', start: new Date(2014, 3, 22), end: new Date(2014, 3, 26)}, + {id: 5, group: 2, content: 'item 5', start: new Date(2014, 3, 24), end: new Date(2014, 3, 27)} ]); // create visualization @@ -52,7 +52,8 @@ // 0 when a == b groupOrder: function (a, b) { return a.value - b.value; - } + }, + editable: true }; var timeline = new vis.Timeline(container);