Legend Property
Applies To
Chart object.
Description
Returns a Legend object that represents the legend for the specified chart. Read-only.
See Also
HasLegend property.
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