[VB] | Public Sub addKey2(pos As Integer, text As String, color As Integer [, lineWidth As Integer [, drawarea As DrawArea ]]) |
[C#] | public void addKey2(int pos, string text, int color [, int lineWidth [, DrawArea drawarea ]]); |
ChartDirector 5.1 (.NET Edition)
LegendBox.addKey2
Usage
[VB] | Public Sub addKey2(pos As Integer, text As String, color As Integer [, lineWidth As Integer [, drawarea As DrawArea ]]) |
[C#] | public void addKey2(int pos, string text, int color [, int lineWidth [, DrawArea drawarea ]]); |
Description
Arguments
Argument | Default | Description |
---|---|---|
pos | (Mandatory) | The legend entry priority |
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 represents the legend entry. This is primarily used for legend entries in line charts with data symbols, or in scatter charts. |
Return Value