Skip to main content
A newer version of this page is available. .

DxChartTitle.HorizontalAlignment Property

Specifies the chart title’s horizontal alignment.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public HorizontalAlignment HorizontalAlignment { get; set; }

Property Value

Type Description
HorizontalAlignment

One of the following values.

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

Use the HorizontalAlignment to specify the chart title’s horizontal alignment.

<DxChart Data="@SalesData">
    <DxChartTitle Text="Sales amount" HorizontalAlignment="HorizontalAlignment.Right" />
    ...
</DxChart>
See Also