RemoveLegendItem Method

Removes the specified Legend item.

Syntax

object.RemoveLegendItem szItem

Properties

The RemoveLegendItem 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 removed.
Valid entries:

Source – Data Source name
Description - Data Source's descriptor property
Value – Current Value at the time cursor
Units – EGU units name
Mode – Historical or real time
High Limit – High display limit
Low Limit – Low display limit
Interval – Data point interval
High Over – Highest value over the duration
Low Over – Lowest value over the duration
Avg Over – Average value over the duration
USER1 – User defined field
USER2 – User defined field
USER3 – User defined field
USER4 – User defined field
USER5 – User defined field
USER6 – User defined field
USER7 – User defined field
USER8 – User defined field
USER9 – User defined field
USER10 – User defined field

 

Example

Applies To