[C#] | public void setBorderColor(int color [, int lightingEffect ]); |
[VB] | Public Sub setBorderColor(color As Integer [, lightingEffect As Integer ]) |
ChartDirector 7.1 (.NET Edition)
Layer.
Usage
[C#] | public void setBorderColor(int color [, int lightingEffect ]); |
[VB] | Public Sub setBorderColor(color As Integer [, lightingEffect As Integer ]) |
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.flatBorder will result in a flat border of the specified width. 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. |
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 or border width, flat border effect, or other special shading effects as described in the above table. |
Return Value