Position Property Example

This example puts the legend for the specified chart to the left of the plot area.

Set c = ChartSpace1.Constants
ChartSpace1.Charts("Line Chart").HasLegend = True
ChartSpace1.Charts(0).Legend.Position = c.chLegendPositionLeft