Version

ShowLeaderLines Property

Returns or sets a boolean value indicating whether leader lines are displayed for the data labels associated with this instance.
Syntax
'Declaration
 
Public Property ShowLeaderLines As Boolean
public bool ShowLeaderLines {get; set;}
Remarks

Leader lines connect data labels to their respective data points.

The LeaderLines property provides a way to customize the appearance of the connecting lines. These lines are only drawn, however, for data labels whose DataLabel.LabelPosition property is set to Custom.

Use this property to allow leader lines to be shown using the default appearance, i.e., setting this property to true without specifying a custom appearance causes them to acquire the default appearance as determined by Excel.

Leader lines can be hidden by setting this property to false.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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