DataLabel Members (Excel)
Represents the data label on a chart point or trendline.
Methods
Name |
Description |
---|---|
Deletes the object. |
|
Selects the object. |
Properties
Name |
Description |
---|---|
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. |
|
True if the object automatically generates appropriate text based on context. Read/write Boolean. |
|
Returns or sets a String value that represents the data label text. |
|
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. |
|
Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long. |
|
Returns the ChartFormat object. Read-only. |
|
Gets or sets a String value that represents the formula of the object using A1-style notation, in English. Read/write. |
|
Gets or sets a String value that represents the formula of the object using A1-style notation, in the language of the user. Read/write. |
|
Gets or sets a String value that represents the formula of the object using R1C1-style notation, in English. Read/write. |
|
Gets or sets a String value that represents the formula of the object using R1C1-style notation, in the language of the user. Read/write. |
|
Returns the height, in points, of the object. Read-only. |
|
Returns or sets a Variant value that represents the horizontal alignment for the specified object. |
|
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). |
|
Returns a String value that represents the name of the object. |
|
Returns or sets a String value that represents the format code for the object. |
|
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. |
|
Returns or sets a Variant value that represents the format code for the object as a string in the language of the user. |
|
Returns or sets a Variant value that represents the text orientation. |
|
Returns the parent object for the specified object. Read-only. |
|
Returns or sets a XlDataLabelPosition value that represents the position of the data label. |
|
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. |
|
Sets or returns a Variant representing the separator used for the data labels on a chart. Read/write. |
|
Returns or sets a Boolean value that determines if the object has a shadow. |
|
True to show the bubble size for the data labels on a chart. False to hide. Read/write Boolean. |
|
True to display the category name for the data labels on a chart. False to hide. Read/write Boolean. |
|
True if the data label legend key is visible. Read/write Boolean. |
|
True to display the percentage value for the data labels on a chart. False to hide. Read/write Boolean. |
|
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. |
|
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. |
|
Returns or sets the text for the specified object. Read/write String. |
|
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). |
|
Returns or sets a Variant value that represents the vertical alignment of the specified object. |
|
Returns the width, in points, of the object. Read-only. |