DxChartLegend.HorizontalAlignment Property
Along with the VerticalAlignment property, specifies the legend’s position.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v22.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
HorizontalAlignment | A HorizontalAlignment enumeration value. |
Available values:
Name | Description |
---|---|
Center | Aligns the items or text to the center. |
Left | Aligns the items or text to the left. |
Right | Aligns the items or text to the right. |
Remarks
<DxChart Data="@SalesData">
@* ... *@
<DxChartLegend HorizontalAlignment="HorizontalAlignment.Left" VerticalAlignment="VerticalEdge.Top">
<DxChartTitle Text="Legend" />
</DxChartLegend>
</DxChart>
See Also