ChartDirector Ver 3.1 (PHP Edition Edition)

LegendBox.addKey


Usage

addKey(text, color[, lineWidth[, drawarea ]])

Description

Add a custom entry to the legend box.

Arguments

ArgumentDefaultDescription
text(Mandatory)The text of the legend entry.
color(Mandatory)The icon color of the legend entry.
line0The line width for legend entry that represents lines in line charts.
drawarea[NullObject] A DrawArea containing the data symbol represents the legend entry. This is primarily used for legend entries in line charts with data symbols, or in scatter charts.

Return Value

None