Name
chart
.ApplyDataLabels([Type
], [LegendKey
], [AutoText
], [HasLeaderLines
], [ShowSeriesName
], [ShowCategoryName
], [ShowValues
], [ShowPercentage
], [ShowBubbleSize
], [Separator
])
Synopsis
Applies data labels to all of the series on the chart.
Argument |
Settings |
---|---|
|
An xlDataLabelsShowBubbleSizes
xlDataLabelsShowLabelAndPercent
xlDataLabelsShowPercent
xlDataLabelsShowLabel
xlDataLabelsShowNone
xlDataLabelsShowValue (default)
Not all Set |
|
True displays the legend key next to the point; False omits the key. Default is False. |
|
True automatically generates an appropriate data label based on the type of chart and whether axis titles are included; False uses the |
|
True displays leader lines for each series; False omits leader lines. Default is False. |
|
True adds the series name to each label; False omits it. |
|
True adds the category axis value to each label; False omits it. |
|
True adds the value of each point to the data label; False omits it. |
|
For pie and doughnut charts, True adds the percentage ... |
Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.