Edit

Share via


XlLegendPosition Enum

Definition

Specifies the position of the legend on a chart.

public enum class XlLegendPosition
public enum XlLegendPosition
type XlLegendPosition = 
Public Enum XlLegendPosition
Inheritance
XlLegendPosition

Fields

Name Value Description
xlLegendPositionCustom -4161

A custom position.

xlLegendPositionTop -4160

Above the chart.

xlLegendPositionRight -4152

Right of the chart.

xlLegendPositionLeft -4131

Left of the chart.

xlLegendPositionBottom -4107

Below the chart.

xlLegendPositionCorner 2

In the upper right-hand corner of the chart border.

Applies to