ChartDirector 7.0 (Perl 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 can also be used to specify perlchartdir::glassEffect, perlchartdir::softLighting, perlchartdir::cylinderEffect or perlchartdir::flatBorder effects.

Return Value

None