GetObjectName
Returns the name of a chart object by its index.
Syntax
Parameters
Parameter
Type
Description
index
number
The index of the object
isStatic
boolean
Optional. Whether to look in static objects (default: false)
Return Value
Returns a string
representing the object's name.
Description
The GetObjectName
method retrieves the name of a chart object based on its index in the list of objects. Objects are indexed from 0 to GetObjectCount() - 1
. This method is useful for iterating through all objects on a chart.
Example
Last updated