ChartDirector 6.0 (Ruby Edition)
Box.setBackground
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
color | (Mandatory) | The background color of the box. |
edgeColor | -1 | The border color of the box. |
raisedEffect | 0 | The 3D border width. For positive values, the border will appear raised. For negative values, the border will appear depressed. A zero value means the border will appear flat. This argument can also be used to specify ChartDirector.glassEffect, ChartDirector.softLighting, ChartDirector.cylinderEffect or ChartDirector.flatBorder effects. |
Return Value