Skip to main content

RangeBarSeriesLabel.Position Property

Gets or sets the position of series labels relative to bars.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

#Declaration

C#
public RangeBarSeriesLabelPosition Position { get; set; }

#Property Value

Type Description
RangeBarSeriesLabelPosition

A value that specifies the label position.

Available values:

Name Description
Outside

Labels are displayed outside bars.

RangeBarSeriesLabelPosition.Outside

Inside

Labels are displayed inside bars.

RangeBarSeriesLabelPosition.Inside

#Remarks

Use the Position property to specify whether series labels should be displayed inside or outside their corresponding bars. The Indent property allows you to set the indent between a label and bar edge.

Range Bar Series Labels

<dxc:RangeBarSeries>
    <dxc:RangeBarSeries.Label>
        <dxc:RangeBarSeriesLabel TextPattern="{}{V$0.#}"
                                 Kind="TwoLabels"
                                 Position="Outside"
                                 Indent="5">
        </dxc:RangeBarSeriesLabel>
    </dxc:RangeBarSeries.Label>
</dxc:RangeBarSeries>
See Also