DxChartAxisTitle Class

Defines an axis title.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public class DxChartAxisTitle :
    DxSettingsComponent<ChartAxisTitleModel>

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. To customize the title appearance, define the CssClass property.

<style>
    .custom-style {
        color: #1B3580;
        font-style: italic;
        font-size: 20px;
    }
</style>

<DxChartArgumentAxis>
    <DxChartAxisTitle Text="Date" HorizontalAlignment="HorizontalAlignment.Left" CssClass="custom-style"/>
</DxChartArgumentAxis>

Inheritance

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