ChartDirector 5.1 (PHP Edition)
Layer.setBorderColor
Usage
Description
Layer Type | Lighting Effects |
---|---|
BarLayer | Setting lightingEffect to an integer within +/- 4000 will create a bevel border around the bar. The border will appear as raised for a positive number, and depressed for a negative number. The border width will be the magnitude of the number in pixels. Setting lightingEffect to the return value of glassEffect, softLighting, cylinderEffect or barLighting will enable the respective effect on the bar. |
BoxWhiskerLayer | Supports the same lighting effect as the BarLayer, except phpchartdir.barLighting. |
LineLayer | For a 3D line layer, phongLighting can be used to shade the 3D line surface. |
SplineLayer | Supports the same lighting effect as the LineLayer. |
Arguments
Argument | Default | Description |
---|---|---|
color | (Mandatory) | The border color. |
lightingEffect | 0 | Specifies the 3D bevel border width or special shading effects as described in the above table. |
Return Value