[VB] | Public Sub setBorderColor(color As Integer [, lightingEffect As Integer ]) |
[C#] | public void setBorderColor(int color [, int lightingEffect ]); |
ChartDirector 5.1 (.NET Edition)
Layer.setBorderColor
Usage
[VB] | Public Sub setBorderColor(color As Integer [, lightingEffect As Integer ]) |
[C#] | public void setBorderColor(int color [, int lightingEffect ]); |
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 Chart.glassEffect, Chart.softLighting, Chart.cylinderEffect or Chart.barLighting will enable the respective effect on the bar. |
BoxWhiskerLayer | Supports the same lighting effect as the BarLayer, except Chart.barLighting. |
LineLayer | For a 3D line layer, Chart.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