HasChartSpaceLegend Property Example
This example sets the chart workspace title and positions the chart workspace legend on the left side of the workspace.
Set c = ChartSpace1.Constants
ChartSpace1.HasChartSpaceTitle = True
ChartSpace1.ChartSpaceTitle.Caption = "Monthly Sales Data"
ChartSpace1.HasChartSpaceLegend = True
ChartSpace1.ChartSpaceLegend.Position = c.chLegendPositionLeft