Adds an item to the Legend of the Chart at the specified location displaying the specified number of characters.
Syntax
object.AddLegendItem szItem, iColumn, iNumChars
Properties
The AddLegendItem method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
szItem |
String. The name of the item to be added. Valid entries: |
iColumn |
Integer. 1-based column index representing where to position the legend item. Column 1 is furthest to the left. Maximum is 22. |
iNumChars |
Integer. Defines the size of the display width of the column specified by iColumn. The width is calculated by taking the average size character of the font selected multiplied by the number of characters specified by iNumChars. Maximum is 80. |