diff options
Diffstat (limited to 'www/lib/vis/examples/graph3d/playground')
| -rw-r--r-- | www/lib/vis/examples/graph3d/playground/index.html | 4 | ||||
| -rw-r--r-- | www/lib/vis/examples/graph3d/playground/playground.js | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/www/lib/vis/examples/graph3d/playground/index.html b/www/lib/vis/examples/graph3d/playground/index.html index 4f42260e..134bb264 100644 --- a/www/lib/vis/examples/graph3d/playground/index.html +++ b/www/lib/vis/examples/graph3d/playground/index.html @@ -117,6 +117,10 @@ <td><input type="checkbox" id="showPerspective" checked /></td> </tr> <tr> + <td>showLegend</td> + <td><input type="checkbox" id="showLegend" checked /></td> + </tr> + <tr> <td>showShadow</td> <td><input type="checkbox" id="showShadow" /></td> </tr> diff --git a/www/lib/vis/examples/graph3d/playground/playground.js b/www/lib/vis/examples/graph3d/playground/playground.js index 5b93dddb..a2e28728 100644 --- a/www/lib/vis/examples/graph3d/playground/playground.js +++ b/www/lib/vis/examples/graph3d/playground/playground.js @@ -407,6 +407,7 @@ function getOptions() { showAnimationControls: (document.getElementById("showAnimationControls").checked != false), showGrid: (document.getElementById("showGrid").checked != false), showPerspective: (document.getElementById("showPerspective").checked != false), + showLegend: (document.getElementById("showLegend").checked != false), showShadow: (document.getElementById("showShadow").checked != false), keepAspectRatio: (document.getElementById("keepAspectRatio").checked != false), verticalRatio: document.getElementById("verticalRatio").value, |
