Adds a custom entry to the legend box without the built-in icon.
Although the entry is text only, you can use
CDML to include shapes and icons into the displayed text and to format the text.
This method adds an entry within a legend entry priority of 1 (followed by 2, 3, 4, ... for repeated calls). This has higher priority than entries added automatically by ChartDirector for representing data sets. As a result, by default, the custom entry will appear before the automatic entries.
To control the order of the custom entry relative to the automatic entries, use
LegendBox.addKey2.
See
LegendBox for more information on legend entry priority system.
© 2025 Advanced Software Engineering Limited. All rights reserved.