Legends Property
The Legends property returns the AutoLegends collection. This is a read-only property.
Syntax
object.Legends
Example 1
The following example shows how to change the line color of a legend.
Legend.line.foreColor = grfColorRed
Example 2
The following example shows how to return the legend name.
Debug.Print Legend.Name
Used by: AutoGraph object