Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HasLeaderLines Property
Collapse the table of content
Expand the table of content

HasLeaderLines Property

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes.

Last modified: July 28, 2015

True if the series has leader lines. Read/write Boolean.

This example adds data labels and blue leader lines to series one on the pie chart.

With myChart.SeriesCollection(1) 
 .HasDataLabels = True 
 .DataLabels.Position = xlLabelPositionBestFit 
 .HasLeaderLines = True 
 .LeaderLines.Border.ColorIndex = 5 
End With
Show:
© 2015 Microsoft