Back to Devexpress

WaterfallSeriesLabel.Position Property

corelibraries-devexpress-dot-xtracharts-dot-waterfallserieslabel.md

latest3.9 KB
Original Source

WaterfallSeriesLabel.Position Property

Gets or sets the position of series point labels, relative to their corresponding waterfall bars.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public WaterfallSeriesLabelPosition Position { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property Position As WaterfallSeriesLabelPosition

Property Value

TypeDescription
WaterfallSeriesLabelPosition

A WaterfallSeriesLabelPosition enumeration value that specifies the label position.

|

Available values:

NameDescription
Auto

The label position is defined based on the series count. Labels are outside waterfall bars if the chart shows a single waterfall series. Labels are positioned in the bar center if the chart shows multiple waterfall series.

| | Center |

Labels are displayed in the center of waterfall bars.

| | InsideEnd |

Labels are displayed inside waterfall bars, at the bottom of falling bars and at the top of rising bars.

| | InsideStart |

Labels are displayed inside waterfall bars, at the bottom of rising bars and at the top of falling bars.

|

Remarks

When the Position property is set to OutsideEnd , the lines that connect labels with their corresponding points become visible, and the following properties become available: SeriesLabelBase.LineColor, SeriesLabelBase.LineLength, SeriesLabelBase.LineStyle and SeriesLabelBase.LineVisibility.

Example

This example shows how to create a chart with a data series of the waterfall view.

See Also

TextOrientation

WaterfallSeriesLabel Class

WaterfallSeriesLabel Members

DevExpress.XtraCharts Namespace