ChartDirector 6.0 (Perl 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 perlchartdir::flatBorder will result in a flat border of the specified width. Setting lightingEffect to the return value of perlchartdir::glassEffect, perlchartdir::softLighting, perlchartdir::cylinderEffect or perlchartdir::barLighting will enable the respective effect on the bar. |
BoxWhiskerLayer | Supports the same lighting effect as the BarLayer. |
LineLayer | For a 3D line layer, perlchartdir::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 or border width, flat border effect, or other special shading effects as described in the above table. |
Return Value