From e43594f554063e06a52ce85c0dc3a878b2514fc6 Mon Sep 17 00:00:00 2001 From: jos Date: Wed, 24 Sep 2014 12:10:25 +0200 Subject: [PATCH] Updated history and docs --- HISTORY.md | 5 +++++ docs/graph3d.html | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index f6e33971..4c6dc6ae 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -24,6 +24,11 @@ http://visjs.org - Event listeners of `update` now receive an extra property `data`, containing the changed fields of the changed items. +### Graph3d + +- Implemented options `xValueLabel` and `yValueLabel` for custom labels along + the x and y axis. Thanks @fabriziofortino. + ## 2014-09-16, version 3.5.0 diff --git a/docs/graph3d.html b/docs/graph3d.html index e103aefd..9e774a4b 100644 --- a/docs/graph3d.html +++ b/docs/graph3d.html @@ -419,6 +419,14 @@ var options = { none Step size for the grid on the x-axis. + + xValueLabel + function + none + A function for custom formatting of the labels along the x-axis, + for example function (x) {return (x * 100) + '%'}. + + yBarWidth @@ -454,6 +462,14 @@ var options = { none Step size for the grid on the y-axis. + + yValueLabel + function + none + A function for custom formatting of the labels along the y-axis, + for example function (y) {return (y * 100) + '%'}. + + zMin