WCLegend Object

                  Properties         Methods        

ChartSpace object
WCChart object
WCLegend object
Border object
Interior object
OWCFont
WCLegendEntries collection (WCLegendEntry object)

Represents a chart workspace or chart legend. A chart or c hart workspace can have only one legend. The WCLegend object contains a WCLegendEntries collection that contains one or more WCLegendEntry objects.

Using the WCLegend Object

Use the HasLegend property or the HasChartspaceLegend property to enable the legend.

The following properties return a WCLegend object.

The ChartSpace object’s ChartspaceLegend property

The WCChart object’s Legend property

The WCLegendEntries object’s Parent property

The WCLegendEntry object’s Parent property


Send feedback to MSDN.Look here for MSDN Online resources.