Skip to main content
All docs
V26.1
  • DataLabel Members

    Specifies data label settings for an individual chart data point.

    Constructors

    Name Description
    DataLabel() Initializes a new instance of the DataLabel class.

    Properties

    Name Description
    CustomText Gets or sets custom text displayed in the data label.
    Hidden Gets or sets whether to hide the data label. Inherited from DataLabelBase.
    Layout Gets or sets layout options for the data label.
    NumberFormat Gets or sets number format settings for data label values. Inherited from DataLabelBase.
    Properties Gets or sets appearance settings for the data label. Inherited from DataLabelBase.
    Separator Gets or sets a separator between displayed label parts. Inherited from DataLabelBase.
    ShowCategoryName Gets or sets whether to display the point category name. Inherited from DataLabelBase.
    ShowDataLabelRange Gets or sets whether to display data from a cell range in the data label. Inherited from DataLabelBase.
    ShowLegendKey Gets or sets whether to display the legend key. Inherited from DataLabelBase.
    ShowSeriesText Gets or sets whether to display the series name in the data label. Inherited from DataLabelBase.
    ShowValue Gets or sets whether the point value is displayed in the data label. Inherited from DataLabelBase.
    TextProperties Gets or sets text formatting properties for the data label. Inherited from DataLabelBase.
    TextReference Gets or sets a reference to the worksheet range that supplies the data label text.

    Methods

    Name Description
    Clone() Creates a copy of the current data label object.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also