Back to Devexpress

DxChartAxisTitle Class

blazor-devexpress-dot-blazor-ee5c2ecb.md

latest2.2 KB
Original Source

DxChartAxisTitle Class

Defines an axis title.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
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 additional information on how to customize axis titles: Axis Title.

Implements

IComponent

IHandleEvent

IHandleAfterRender

IDisposable

Inheritance

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

See Also

DxChartAxisTitle Members

DevExpress.Blazor Namespace