From 014645d1546faf2363d18bc22e55b39e0ac466f5 Mon Sep 17 00:00:00 2001 From: jos Date: Thu, 4 Feb 2016 14:56:12 +0100 Subject: [PATCH] Fixed #1630: fixed docs of `getItemRange` and `getDataRange` in docs --- HISTORY.md | 11 +++++++++++ docs/graph2d/index.html | 13 ++++++------- docs/timeline/index.html | 6 ++++++ 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 412837d2..b85074e5 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,6 +2,17 @@ http://visjs.org +## not yet released, version 4.14.1 + +### Timeline + +- Fixed #1630: method `getItemRange` missing in docs. + +### Graph2d + +- Fixed #1630: method `getDataRange` was wrongly called `getItemRange` in docs. + + ## 2016-02-04, version 4.14.0 ### Timeline diff --git a/docs/graph2d/index.html b/docs/graph2d/index.html index abea895d..e6412f7b 100644 --- a/docs/graph2d/index.html +++ b/docs/graph2d/index.html @@ -1145,6 +1145,12 @@ function (option, path) { + + getDataRange() + Object + Get the range of all the items as an object containing min: Date and max: Date. + + getEventProperties(event) Object @@ -1176,13 +1182,6 @@ function (option, path) { Get the current visible window. Returns an object with properties start: Date and end: Date. - - getItemRange() - Object - Get the range of all the items as an object containing min: Date and max: Date. - - - isGroupVisible(groupId) Boolean diff --git a/docs/timeline/index.html b/docs/timeline/index.html index 83f9afe5..9d41a32b 100644 --- a/docs/timeline/index.html +++ b/docs/timeline/index.html @@ -1150,6 +1150,12 @@ document.getElementById('myTimeline').onclick = function (event) { + + getItemRange() + Object + Get the range of all the items as an object containing min: Date and max: Date. + + getSelection() number[]