Returns a object that represents the legend for the specified chart. Read-only.

Example

This example turns on the legend for the chart and then sets the font color for the legend to blue.

myChart.HasLegend = True myChart.Legend.Font.ColorIndex = 5

See also: