HasLeaderLines 屬性

此頁(yè)沒(méi)有內(nèi)容條目
內(nèi)容

如果數(shù)據(jù)系列有引導(dǎo)線,則該值為 True。Boolean 類型,可讀寫(xiě)。

示例

本示例向餅圖上的數(shù)據(jù)系列一添加數(shù)據(jù)標(biāo)簽和藍(lán)色引導(dǎo)線。

With myChart.SeriesCollection(1)

    .HasDataLabels = True

    .DataLabels.Position = xlLabelPositionBestFit

    .HasLeaderLines = True

    .LeaderLines.Border.ColorIndex = 5

End With