This documentation is archived and is not being maintained.

Legend Interface 

Represents the legend in a chart.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Public Class egendImplementation
	Implements Legend
End Class
Dim egendImplementation1 As New egendImplementation()

public interface Legend
public interface Legend
public interface Legend

Each chart can have only one legend. The Legend object contains one or more LegendEntry objects; each LegendEntry object contains a LegendKey object.

Use the Legend property to return the Legend object.

The chart legend isn’t visible unless the HasLegend property is True. If this property is False, properties and methods of the Legend object will fail.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms