Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxChartAxisTitle Class

Defines an axis title.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public class DxChartAxisTitle :
    DxComplexSettingsComponent<DxChartAxisTitle, ChartAxisTitleModel>,
    IModelProvider<ChartFontModel>

#Remarks

An axis can have a single title. If you add multiple DxChartAxisTitle components to an axis, the last added item is displayed.

Use the Text property to specify the title’s content. The HorizontalAlignment property allows you adjust the title’s position in relation to the axis.

Razor
<DxChartArgumentAxis>
    <DxChartAxisTitle Text="Date" HorizontalAlignment="HorizontalAlignment.Left" />
</DxChartArgumentAxis>

Refer to the following section for more information on how to customize axis titles: Axis Title.

#Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.ChartAxisTitleModel>
DxComplexSettingsComponent<DxChartAxisTitle, DevExpress.Blazor.Internal.ChartAxisTitleModel>
DxChartAxisTitle
See Also