From ee566f74e63013243b12a2426f4a77fea45b6667 Mon Sep 17 00:00:00 2001 From: wimrijnders Date: Sat, 3 Jun 2017 12:02:15 +0200 Subject: [PATCH] Added collapsible items for objects in graph3d doc (#3104) --- docs/graph3d/index.html | 180 ++++++++++++++++++++++++++++------------ 1 file changed, 126 insertions(+), 54 deletions(-) diff --git a/docs/graph3d/index.html b/docs/graph3d/index.html index 69d28ad6..902cd4eb 100644 --- a/docs/graph3d/index.html +++ b/docs/graph3d/index.html @@ -272,7 +272,7 @@ var options = { The following options are available.

- +
@@ -311,69 +311,83 @@ var options = { - - + + - + - - + + - - + + - + + - - + + + - + + + + + + + + + + + + + + + + + - - + + - + - - + + - - + + - - + + @@ -516,37 +530,95 @@ var options = { - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Name TypeThe color of the axis lines and the text along the axis.
backgroundColor
backgroundColor string or Object{fill: 'white', stroke: 'gray', strokeWidth: 1}Object The background color for the main area of the chart. Can be either a simple HTML color string, for example: 'red' or '#00cc00', or an object with the following properties.
backgroundColor.fill
backgroundColor.stroke
backgroundColor.strokeWidth
cameraPosition
cameraPositionObject Object{horizontal: 1.0, vertical: 0.5, distance: 1.7} Set the initial rotation and position of the camera. - The object cameraPosition contains three parameters: - horizontal, vertical, and distance. - Parameter horizontal is a value in radians and can have any - value (but normally in the range of 0 and 2*Pi). - Parameter vertical is a value in radians between 0 and 0.5*Pi. - Parameter distance is the (normalized) distance from the - camera to the center of the graph, in the range of 0.71 to 5.0. A - larger distance puts the graph further away, making it smaller. All parameters are optional.
dataColor
dataColor string or object{fill: '#7DC1FF', stroke: '#3267D2', strokeWidth: 1}Object When dataColor is a string, it will set the color for both border and fill color of dots and bars. Applicable for styles dot-size, bar-size, and line. When an object, it can contain the properties descibed below.
dataColor.fill
dataColor.stroke
dataColor.strokeWidth
tooltipStyle
tooltipStyleObject Object -
-{ 
-  content: {
-    padding: '10px',
-    border: '1px solid #4d4d4d',
-    color: '#1a1a1a',
-    background: 'rgba(255,255,255,0.7)',
-    borderRadius: '2px',
-    boxShadow: '5px 5px 10px rgba(128,128,128,0.5)'
-  },
-  line: {
-    height: '40px',
-    width: '0',
-    borderLeft: '1px solid #4d4d4d'
-  },
-  dot: {
-    height: '0',
-    width: '0',
-    border: '5px solid #4d4d4d',
-    borderRadius: '5px'
-  }
-}
Tooltip style properties. Provided properties will be merged with the default object.
valueMax