DxChartConstantLineLabel.Position Property

Specifies whether to show a constant line label inside or outside the chart plot area.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
public RelativePosition Position { get; set; }

Property Value

Type Description
RelativePosition

The label’s position.

Available values:

Name Description
Inside

An element is displayed inside the component.

Outside

An element is displayed outside the component.

Remarks

Use the code below to adjust a constant line label’s position:

<DxChartValueAxis>
    <DxChartConstantLine Value="100">
        <DxChartConstantLineLabel HorizontalAlignment="HorizontalAlignment.Center"
                                  Position="RelativePosition.Inside" />
    </DxChartConstantLine>
</DxChartValueAxis>
See Also