diff --git a/docs/graph2d.html b/docs/graph2d.html
index 68aad11c..652a94ae 100644
--- a/docs/graph2d.html
+++ b/docs/graph2d.html
@@ -852,6 +852,13 @@ Graph2d.clear({options: true}); // clear options only
+
+ fit() |
+ none |
+ Adjust the visible window such that it fits all items.
+ |
+
+
getCurrentTime() |
Date |
@@ -904,9 +911,13 @@ Graph2d.clear({options: true}); // clear options only
- fit() |
+ hiddenDates |
+ Object |
none |
- Adjust the visible window such that it fits all items.
+ | This option allows you to hide specific timespans from the time axis. The dates can be supplied as an object:
+ {start: '2014-03-21 00:00:00', end: '2014-03-28 00:00:00', [repeat:'daily']} or as an Array of these objects. The repeat argument is optional.
+ The possible values are (case-sensitive): daily, weekly, monthly, yearly . To hide a weekend, pick any Saturday as start and the following Monday as end
+ and set repeat to weekly.
|
diff --git a/examples/graph2d/01_basic.html b/examples/graph2d/01_basic.html
index 84565a9e..8b0510b8 100644
--- a/examples/graph2d/01_basic.html
+++ b/examples/graph2d/01_basic.html
@@ -44,7 +44,7 @@
var dataset = new vis.DataSet(items);
var options = {
start: '2014-06-10',
- end: '2014-06-18',
+ end: '2014-06-18'
};
var graph2d = new vis.Graph2d(container, dataset, options);