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.
-Name | Type | @@ -311,69 +311,83 @@ var options = {The 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.fill | string | 'white' | The chart fill color, as an HTML color string. | |
backgroundColor.stroke | +||||
backgroundColor.stroke | string | 'gray' | The color of the chart border, as an HTML color string. | |
backgroundColor.strokeWidth | +||||
backgroundColor.strokeWidth | number | 1 | The border width, in pixels. | |
cameraPosition | +||||
cameraPosition | +Object | 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.
|
cameraPosition.horizontal | +number | +1.0 | +Value in radians. It can have any + value, but is normally in the range of 0 and 2*Pi. | +|
cameraPosition.vertical | +number | +0.5 | +Value in radians between 0 and 0.5*Pi. | +|
cameraPosition.distance | +number | +1.7 | +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. + | |
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.fill | string | '#7DC1FF' | The fill color of the dots or bars. Applicable when using styles dot-size , bar-size , or line . |
|
dataColor.stroke | +||||
dataColor.stroke | string | '#3267D2' | The border color of the dots or bars. Applicable when using styles dot-size or bar-size . |
|
dataColor.strokeWidth | +||||
dataColor.strokeWidth | number | 1 | The line width of dots, bars and lines. Applicable for all styles. | @@ -516,37 +530,95 @@ var options = {|
tooltipStyle | +||||
tooltipStyle | +Object | 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. |
tooltipStyle.content.padding | +string | +'10px' | ++ | |
tooltipStyle.content.border | +string | +'1px solid #4d4d4d' | ++ | |
tooltipStyle.content.color | +string | +'#1a1a1a' | ++ | |
tooltipStyle.content.background | +string | +'rgba(255,255,255,0.7)' | ++ | |
tooltipStyle.content.borderRadius | +string | +'2px' | ++ | |
tooltipStyle.content.boxShadow | +string | +'5px 5px 10px rgba(128,128,128,0.5)' | ++ | |
tooltipStyle.line.height | +string | +'40px' | ++ | |
tooltipStyle.line.width | +string | +'0' | ++ | |
tooltipStyle.line.borderLeft | +string | +'1px solid #4d4d4d' | ++ | |
tooltipStyle.dot.height | +string | +'0' | ++ | |
tooltipStyle.dot.width | +string | +'0' | ++ | |
tooltipStyle.dot.border | +string | +'5px solid #4d4d4d' | ++ | |
tooltipStyle.dot.borderRadius | +string | +'5px' | ++ | |
valueMax |