Version

Margins Property (LegendAppearance)

Gets the MarginsAppearance object, which determines the extent of margin surrounding the Legend box.
Syntax
'Declaration
 
Public Property Margins As MarginsAppearance
public MarginsAppearance Margins {get; set;}
Remarks

The Margins can be specified on each of the four sides of the Legend box. Developers can employ the Margins property in concert with the SpanPercentage and Location properties to locate a Legend box closer to the corners of the chart.

If values are given for the Margins that exceed the Extent region of the adjacent axis, then the Legend box may not have enough space to render itself and the effects are undefined.

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