WithChartItems (GetSeriesName)
Retrieves the name of a series based on its index number. This index is assigned to all series in a chart definition based on the order in which they were added, beginning from 0.
Syntax
WithChartItems( InstructionType, Index );
Parameters
Parameter Name | Type | Description | Optional? | Default Value |
---|---|---|---|---|
InstructionType | Integer or String | Must be set to either the integer 3 or the string "GetSeriesName". | No | n/a |
Index | Integer | The zero-based index of the series whose name to return. | No | n/a |
Output
If successful, the function will return the name of the series at the specified index; otherwise, it will return an empty string.