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

    Specifies default data label settings for bar series points.

    Constructors

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

    Properties

    Name Description
    Count Returns the number of items in the collection. Inherited from DataLabels.
    Hidden Gets or sets whether to hide the data label. Inherited from DataLabelBase.
    Item[Int32] Gets or sets data label settings for a specific point index.
    Keys Returns collection keys. Inherited from DataLabels.
    LabelPosition Gets or sets the label position for all points in the series.
    LeaderLineProperties Gets or sets appearance properties of connector lines. Inherited from DataLabels.
    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.
    ShowLeaderLines Gets or sets whether to display connector lines between data labels and their points. Inherited from DataLabels.
    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.
    Values Returns collection values. Inherited from DataLabels.

    Methods

    Name Description
    Add(KeyValuePair<Int32, DataLabel>) Adds a key/value pair to the data label collection. Inherited from DataLabels.
    Add(Int32, DataLabel) Adds a data label with the specified key. Inherited from DataLabels.
    Clear() Removes all data labels from the collection. Inherited from DataLabels.
    Clone() Creates a copy of the current data labels object.
    Contains(KeyValuePair<Int32, DataLabel>) Determines whether the collection contains the specified key/value pair. Inherited from DataLabels.
    ContainsKey(Int32) Determines whether the collection contains a label for the specified key. Inherited from DataLabels.
    CopyTo(KeyValuePair<Int32, DataLabel>[], Int32) Copies collection elements to an array, starting at the specified index. Inherited from DataLabels.
    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.
    GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from DataLabels.
    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.
    Remove(KeyValuePair<Int32, DataLabel>) Removes the specified key/value pair from the collection. Inherited from DataLabels.
    Remove(Int32) Removes the data label with the specified key. Inherited from DataLabels.
    ToString() Returns a string that represents the current object. Inherited from Object.
    TryGetValue(Int32, out DataLabel) Returns the value associated with the specified key. Inherited from DataLabels.
    See Also