Skip to main content
All docs
V26.1
  • WaterfallDataLabels.LabelPosition Property

    Gets or sets the label position for waterfall data points.

    Namespace: DevExpress.Docs.Office

    Assembly: DevExpress.Docs.Core.v26.1.dll

    NuGet Package: DevExpress.Docs.Core

    Declaration

    public WaterfallDataLabelPosition LabelPosition { get; set; }

    Property Value

    Type Description
    WaterfallDataLabelPosition

    A WaterfallDataLabelPosition value.

    Available values:

    Name Description
    Center

    Centers the label inside the data point shape.

    InsideBase

    Places the label inside the data point at the base edge.

    InsideEnd

    Places the label inside the data point at the end edge.

    OutsideEnd

    Places the label outside the data point at the end edge.

    Default

    Uses automatic label placement.

    Remarks

    The following code snippet displays labels outside the waterfall data points:

    using DevExpress.Docs.Office;
    
    // Show the value and place the label outside the data point.
    waterfallSeries.DataLabels.ShowValue = true;
    waterfallSeries.DataLabels.LabelPosition = WaterfallDataLabelPosition.OutsideEnd;
    
    See Also