RemoveAllObjects
Removes all chart objects of a specified type.
Syntax
Parameters
Parameter
Type
Description
objType
The type of objects to remove
isStatic
boolean
Optional. Whether to remove static objects (default: false)
Description
The RemoveAllObjects
method removes all chart objects of a specified type from the chart. This is useful for cleaning up multiple objects at once. The method can remove either regular objects or static objects, depending on the isStatic
parameter.
Example
Last updated