[C#] | public void addKey(string text, int color [, int lineWidth [, DrawArea drawarea ]]); |
[VB] | Public Sub addKey(text As String, color As Integer [, lineWidth As Integer [, drawarea As DrawArea ]]) |
ChartDirector 7.1 (.NET Edition)
LegendBox.
Usage
[C#] | public void addKey(string text, int color [, int lineWidth [, DrawArea drawarea ]]); |
[VB] | Public Sub addKey(text As String, color As Integer [, lineWidth As Integer [, drawarea As DrawArea ]]) |
Description
Arguments
Argument | Default | Description |
---|---|---|
text | (Mandatory) | The text of the legend entry. |
color | (Mandatory) | The icon color of the legend entry. |
lineWidth | 0 | The line width for legend entry that represents lines in line charts. |
drawarea | [Null] | A DrawArea containing the data symbol for the legend entry. This is primarily used for legend entries in scatter charts or in line charts with data symbols. |
Return Value