LegendPosition property: Chart class

Description

Use this property to specify where the legend should appear, in relationship to the chart. You can specify either a numeric or constant value for this property.

Note:

ChartLegend_Separate generates a legend without a chart. The legend takes over the entire charting area.

The values are:

Numeric Value Constant Value Description

0

%ChartLegend_Left

Display legend to the left of the chart.

1

%ChartLegend_Right

Display legend to the right of the chart.

2

%ChartLegend_Top

Display legend on top of the chart.

3

%ChartLegend_Bottom

Display legend below the chart.

4

%ChartLegend_Separate

Generate a legend without a chart.

This property is read/write.