Share via


DataLabel Object Members

Excel Developer Reference

Represents the data label on a chart point or trendline.

Methods

  Name Description
Bb255971.methods(en-us,office.12).gif Delete Deletes the object.
Bb255971.methods(en-us,office.12).gif Select Selects the object.

Properties

  Name Description
Bb255971.properties(en-us,office.12).gif Application When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.
Bb255971.properties(en-us,office.12).gif AutoScaleFont True if the text in the object changes font size when the object size changes. The default value is True. Read/write Variant.
Bb255971.properties(en-us,office.12).gif AutoText True if the object automatically generates appropriate text based on context. Read/write Boolean.
Bb255971.properties(en-us,office.12).gif Caption Returns or sets a String value that represents the data label text.
Bb255971.properties(en-us,office.12).gif Characters Returns a Characters object that represents a range of characters within the object text. You can use the Characters object to format characters within a text string.
Bb255971.properties(en-us,office.12).gif Format Read-only
Bb255971.properties(en-us,office.12).gif HorizontalAlignment Returns or sets a Variant value that represents the horizontal alignment for the specified object.
Bb255971.properties(en-us,office.12).gif Left Returns or sets a Double value that represents the distance, in points, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).
Bb255971.properties(en-us,office.12).gif Name Returns a String value that represents the name of the object.
Bb255971.properties(en-us,office.12).gif NumberFormat Returns or sets a String value that represents the format code for the object.
Bb255971.properties(en-us,office.12).gif NumberFormatLinked True if the number format is linked to the cells (so that the number format changes in the labels when it changes in the cells). Read/write Boolean.
Bb255971.properties(en-us,office.12).gif NumberFormatLocal Returns or sets a Variant value that represents the format code for the object as a string in the language of the user.
Bb255971.properties(en-us,office.12).gif Orientation Returns or sets a Variant value that represents the text orientation.
Bb255971.properties(en-us,office.12).gif Parent Returns the parent object for the specified object. Read-only.
Bb255971.properties(en-us,office.12).gif Position Returns or sets a XlDataLabelPosition value that represents the position of the data label.
Bb255971.properties(en-us,office.12).gif ReadingOrder Returns or sets the reading order for the specified object. Can be one of the following constants: xlRTL (right-to-left), xlLTR (left-to-right), or xlContext. Read/write Long.
Bb255971.properties(en-us,office.12).gif Separator Sets or returns a Variant representing the separator used for the data labels on a chart. Read/write.
Bb255971.properties(en-us,office.12).gif Shadow Returns or sets a Boolean value that determines if the object has a shadow.
Bb255971.properties(en-us,office.12).gif ShowBubbleSize True to show the bubble size for the data labels on a chart. False to hide. Read/write Boolean.
Bb255971.properties(en-us,office.12).gif ShowCategoryName True to display the category name for the data labels on a chart. False to hide. Read/write Boolean.
Bb255971.properties(en-us,office.12).gif ShowLegendKey True if the data label legend key is visible. Read/write Boolean.
Bb255971.properties(en-us,office.12).gif ShowPercentage True to display the percentage value for the data labels on a chart. False to hide. Read/write Boolean.
Bb255971.properties(en-us,office.12).gif ShowSeriesName Returns or sets a Boolean to indicate the series name display behavior for the data labels on a chart. True to show the series name. False to hide. Read/write.
Bb255971.properties(en-us,office.12).gif ShowValue Returns or sets a Boolean corresponding to a specified chart's data label values display behavior. True displays the values. False to hide. Read/write.
Bb255971.properties(en-us,office.12).gif Text Returns or sets the text for the specified object. Read/write String.
Bb255971.properties(en-us,office.12).gif Top Returns or sets a Double value that represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).
Bb255971.properties(en-us,office.12).gif VerticalAlignment Returns or sets a Variant value that represents the vertical alignment of the specified object.