Version

Location Property (LegendAppearance)

Gets or sets the position of the Legend in the chart.
Syntax
'Declaration
 
Public Property Location As LegendLocation
public LegendLocation Location {get; set;}
Remarks

The legend may only be located along one of the borders of the chart, see the LegendLocation enumeration for possible settings.

Developers can cause a legend to appear in one of the corners of the chart (rather than take up the width or height of the chart control) by selectively adjusting the Margins property values.

Requirements

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

See Also