DataLabels Class
Contents
[
Hide
]DataLabels class
Encapsulates a collection of all the DataLabel objects for the specified Series.
type DataLabels struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|---|
NewDataLabels | Constructs from a parent object. |
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
GetBorder | Gets the |
GetArea | Gets the |
IsAutoText | Indicates the text is auto generated. |
SetIsAutoText | Indicates the text is auto generated. |
GetDirectionType | Gets and sets the direction of text. |
SetDirectionType | Gets and sets the direction of text. |
GetText | Gets or sets the text of data label. |
SetText | Gets or sets the text of data label. |
IsTextWrapped | Gets or sets a value indicating whether the text is wrapped. |
SetIsTextWrapped | Gets or sets a value indicating whether the text is wrapped. |
GetBackgroundMode | Gets and sets the display mode of the background |
SetBackgroundMode | Gets and sets the display mode of the background |
GetShowValue | Represents a specified chart’s data label values display behavior. True displays the values. False to hide. |
SetShowValue | Represents a specified chart’s data label values display behavior. True displays the values. False to hide. |
GetShowCellRange | Indicates whether showing cell range as the data labels. |
SetShowCellRange | Indicates whether showing cell range as the data labels. |
GetShowPercentage | Represents a specified chart’s data label percentage value display behavior. True displays the percentage value. False to hide. |
SetShowPercentage | Represents a specified chart’s data label percentage value display behavior. True displays the percentage value. False to hide. |
GetShowBubbleSize | Represents a specified chart’s data label percentage value display behavior. True displays the percentage value. False to hide. |
SetShowBubbleSize | Represents a specified chart’s data label percentage value display behavior. True displays the percentage value. False to hide. |
GetShowCategoryName | Represents a specified chart’s data label category name display behavior.True to display the category name for the data labels on a chart. False to hide. |
SetShowCategoryName | Represents a specified chart’s data label category name display behavior.True to display the category name for the data labels on a chart. False to hide. |
GetShowSeriesName | Indicates whether the series name displays for the data labels on a chart.True to show the series name. False to hide. |
SetShowSeriesName | Indicates whether the series name displays for the data labels on a chart.True to show the series name. False to hide. |
GetShowLegendKey | Represents a specified chart’s data label legend key display behavior.True if the data label legend key is visible. |
SetShowLegendKey | Represents a specified chart’s data label legend key display behavior.True if the data label legend key is visible. |
Get_NumberFormat | Represents the format string for the DataLabels object. |
SetNumberFormat | Represents the format string for the DataLabels object. |
GetNumber | Gets and sets the built-in number format. |
SetNumber | Gets and sets the built-in number format. |
GetNumberFormatLinked | 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). |
SetNumberFormatLinked | 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). |
ApplyFont | Apply the font of the datalabels to all child nodes. |
GetFont | Gets the font of the DataLabels; |
GetSeparatorType | Gets or sets the separator type used for the data labels on a chart. |
SetSeparatorType | Gets or sets the separator type used for the data labels on a chart. |
GetSeparatorValue | Gets or sets the separator value used for the data labels on a chart. |
SetSeparatorValue | Gets or sets the separator value used for the data labels on a chart. |
GetPosition | Represents the position of the data label. |
SetPosition | Represents the position of the data label. |
IsNeverOverlap | Indicates whether the datalabels display never overlap. (For Pie chart) |
SetIsNeverOverlap | Indicates whether the datalabels display never overlap. (For Pie chart) |
GetShapeType | Gets or sets shape type of data label. |
SetShapeType | Gets or sets shape type of data label. |
IsDeleted | Indicates whether this data labels is deleted. |
SetIsDeleted | Indicates whether this data labels is deleted. |
GetTextHorizontalAlignment | Gets and sets the text horizontal alignment. |
SetTextHorizontalAlignment | Gets and sets the text horizontal alignment. |
GetTextVerticalAlignment | Gets or sets the text vertical alignment of text. |
SetTextVerticalAlignment | Gets or sets the text vertical alignment of text. |
GetRotationAngle | Represents text rotation angle. |
SetRotationAngle | Represents text rotation angle. |
IsAutomaticRotation | Indicates whether the text of the chart is automatically rotated. |
Characters | Returns a Characters object that represents a range of characters within the text. |
GetReadingOrder | Represents text reading order. |
SetReadingOrder | Represents text reading order. |
IsResizeShapeToFitText | Gets or sets whether a shape should be auto-fit to fully contain the text described within it. Auto-fitting iswhen text within a shape is scaled in order to contain all the text inside. |
SetIsResizeShapeToFitText | Gets or sets whether a shape should be auto-fit to fully contain the text described within it. Auto-fitting iswhen text within a shape is scaled in order to contain all the text inside. |
GetLinkedSource | Gets and sets a reference to the worksheet. |
SetLinkedSource | Gets and sets a reference to the worksheet. |