DxChartAxisTitle.HorizontalAlignment Property
Specifies the horizontal alignment for the axis title.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.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 | Center alignment. |
Left | Left alignment. |
Right | Right alignment. |
Remarks
The following code centers an axis title:
<DxChart Data="@WeatherForecasts">
...
<DxChartArgumentAxis>
<DxChartAxisTitle Text="Date" HorizontalAlignment="HorizontalAlignment.Center"/>
</DxChartArgumentAxis>
</DxChart>
See Also