ChartDirector 5.1 (PHP Edition)

LegendBox.setKeyBorder


Usage

setKeyBorder(edgeColor [, raisedEffect ])

Description

Sets the default border color of the legend icon.

This method applies only to data sets of which the icons are rectangles showing the colors of the data sets. If the icon is a shape or symbol (such as for a line with data point symbols), the border color of the original shape or symbol is always used.

Arguments

ArgumentDefaultDescription
edgeColor(Mandatory)The border color.
raisedEffect0The 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 is also used to support glassEffect, softLighting and cylinderEffect effects.

Return Value

None