ChartDirector 7.0 (PHP Edition)

LegendBox.addText2


Usage

addText2(pos, text)

Description

Adds a custom entry to the legend box without the built-in icon, and with a given legend entry priority.

See LegendBox for more information on legend entry priority system.

Although the entry is text only, you can use CDML to include shapes and icons into the displayed text and to format the text.

Arguments

ArgumentDefaultDescription
pos(Mandatory)The legend entry priority
text(Mandatory)The text of the legend entry.

Return Value

None