diff --git a/HISTORY.md b/HISTORY.md index 5bc3f276..3a4c3a23 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,4 +1,4 @@ -vis.js history +# vis.js history http://visjs.org @@ -15,6 +15,11 @@ http://visjs.org - Minor bug fixes. - More examples added. +### DataSet + +- A DataSet can now be constructed with initial data, like + `new DataSet(data, options)`. + ## 2014-04-18, version 0.7.4 diff --git a/docs/dataset.html b/docs/dataset.html index cbb2ec8f..477d26a4 100644 --- a/docs/dataset.html +++ b/docs/dataset.html @@ -107,7 +107,7 @@ console.log('formatted items', items);

-var data = new vis.DataSet(options)
+var data = new vis.DataSet([data] [, options])
 

@@ -116,6 +116,11 @@ var data = new vis.DataSet(options) Data Manipulation.

+

+ The parameter datacode> is optional and can be an Array or + Google DataTable with items. +

+

The parameter options is optional and is an object which can contain the following properties: diff --git a/examples/timeline/08_edit_items.html b/examples/timeline/08_edit_items.html index fe431ce9..a8c1bd88 100644 --- a/examples/timeline/08_edit_items.html +++ b/examples/timeline/08_edit_items.html @@ -18,8 +18,7 @@