'Declaration Public Enum LegendPosition Inherits System.Enum
public enum LegendPosition : System.Enum
Member | Description |
---|---|
Bottom | The legend appears at the bottom of the chart. |
BottomLeft | The legend appears near the bottom left corner of the chart. Supported only for Histogram, Pareto, Treemap, Sunburst, Box and Whisker, and Waterfall chart types. |
BottomRight | The legend appears near the bottom right corner of the chart. Supported only for Histogram, Pareto, Treemap, Sunburst, Box and Whisker, and Waterfall chart types. |
Custom | The legend's size and location is determined by the Legend.Left, Legend.Top, Legend.Width, and Legend.Height properties. |
Default | The legend position is determined automatically by Excel. |
Left | The legend appears near the left edge of the chart. |
Right | The legend appears near the right edge of the chart. |
Top | The legend appears at the top of the chart. |
TopLeft | The legend appears near the top left corner of the chart. Supported only for Histogram, Pareto, Treemap, Sunburst, Box and Whisker, and Waterfall chart types. |
TopRight | The legend appears near the top right corner of the chart. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2