diff --git a/docs/timeline.html b/docs/timeline.html
index 24d85eb9..72b2a3b8 100644
--- a/docs/timeline.html
+++ b/docs/timeline.html
@@ -245,6 +245,16 @@ var items = [
example "color: red; background-color: pink;"
.
+
+ subgroup |
+ String | Number |
+ none |
+ The id of a subgroup.
+ Groups all items within a group per subgroup, and positions them on the
+ same height instead of staking them on top of each other. can be ordered
+ by specifying the option subgroupOrder of a group.
+ |
+
title |
String |
@@ -339,6 +349,14 @@ var groups = [
example "color: red; background-color: pink;"
.
+
+ subgroupOrder |
+ String | Function |
+ none |
+ Order the subgroups by a field name or custom sort function.
+ By default, groups are ordered by first-come, first-show.
+ |
+
title |
String |
@@ -347,14 +365,6 @@ var groups = [
The title can only contain plain text.
-
- subgroupOrder |
- String | Function |
- none |
- Order the subgroups by a field name or custom sort function.
- By default, groups are ordered by first-come, first-show.
- |
-
diff --git a/examples/timeline/30_subgroups.html b/examples/timeline/30_subgroups.html
index 4c342658..d042b81d 100644
--- a/examples/timeline/30_subgroups.html
+++ b/examples/timeline/30_subgroups.html
@@ -61,11 +61,11 @@
var container = document.getElementById('visualization');
var options = {
+ // orientation:'top'
start: '2014-01-10',
end: '2014-02-10',
editable: true,
- stack: false,
-// orientation:'top'
+ stack: false
};
var timeline = new vis.Timeline(container, items, groups, options);