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 Line. |
GetArea | Gets the Area. |
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. |
IsInnerMode | Indicates whether the size of the plot area size includes the tick marks, and the axis labels.False specifies that the size shall determine the size of the plot area, the tick marks, and the axis labels. |
SetIsInnerMode | Indicates whether the size of the plot area size includes the tick marks, and the axis labels.False specifies that the size shall determine the size of the plot area, the tick marks, and the axis labels. |
GetShadow | True if the frame has a shadow. |
SetShadow | True if the frame has a shadow. |
GetShapeProperties | Gets the ShapeProperties object. |
IsDefaultPosBeSet | Indicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set. |
GetDefaultXRatioToChart | Represents x of default position in units of Fraction of the chart area. |
GetDefaultYRatioToChart | Represents y of default position in units of Fraction of the chart area. |
GetDefaultWidthRatioToChart | Represents width of default position in units of Fraction of the chart area. |
GetDefaultHeightRatioToChart | Represents height of default position in units of Fraction of the chart area. |
GetTextOptions | Gets and sets the options of the text. |
GetAutoScaleFont | True if the text in the object changes font size when the object size changes. The default value is True. |
SetAutoScaleFont | True if the text in the object changes font size when the object size changes. The default value is True. |
IsAutomaticSize | Indicates whether the chart frame is automatic sized. |
SetIsAutomaticSize | Indicates whether the chart frame is automatic sized. |
GetXRatioToChart | Gets or sets the x coordinate of the upper left corner in units of ratio of the chart area. |
SetXRatioToChart | Gets or sets the x coordinate of the upper left corner in units of ratio of the chart area. |
GetYRatioToChart | Gets or sets the y coordinate of the upper left corner in units of ratio of the chart area. |
SetYRatioToChart | Gets or sets the y coordinate of the upper left corner in units of ratio of the chart area. |
GetWidthRatioToChart | Gets or sets the width of frame in units of ratio of the chart area. |
SetWidthRatioToChart | Gets or sets the width of frame in units of ratio of the chart area. |
GetHeightRatioToChart | Gets or sets the height of frame in units of ratio of the chart area. |
SetHeightRatioToChart | Gets or sets the height of frame in units of ratio of the chart area. |
GetXPixel | Gets or sets the x coordinate of the upper left corner in units of Pixel. |
SetXPixel | Gets or sets the x coordinate of the upper left corner in units of Pixel. |
GetYPixel | Gets or sets the y coordinate of the upper left corner in units of Pixel. |
SetYPixel | Gets or sets the y coordinate of the upper left corner in units of Pixel. |
GetWidthPixel | Gets or sets the width of frame in units of Pixel. |
SetWidthPixel | Gets or sets the width of frame in units of Pixel. |
GetHeightPixel | Gets or sets the height of frame in units of Pixel. |
SetHeightPixel | Gets or sets the height of frame in units of Pixel. |
SetPositionAuto | Set position of the frame to automatic |
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. |