DxChartConstantLineLabel.VerticalAlignment Property
Specifies the vertical alignment for the constant line’s label.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
VerticalAlignment | A VerticalAlignment enumeration value. |
Available values:
Name | Description |
---|---|
Top | Aligns the items or text at the top. |
Center | Aligns the items or text at the center. |
Bottom | Aligns the items or text at the bottom. |
Remarks
The VerticalAlignment
property is in effect for labels of constant lines that belong to an argument axis.
Use the following code snippet to specify the alignment for the argument axis’s constant line label:
<DxChartArgumentAxis>
<DxChartConstantLine Value="@("2019-Dec-31")">
<DxChartConstantLineLabel VerticalAlignment="VerticalAlignment.Top"/>
</DxChartConstantLine>
</DxChartArgumentAxis>
See Also