DxChartAxisTitle Class
Defines an axis title.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v23.2.dll
NuGet Package: DevExpress.Blazor
Declaration
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. 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>
To customize font settings of an axis title, use the DxChartFont object. Refer to Font Customization for more information.
Inheritance
Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.ChartAxisTitleModel>
DxComplexSettingsComponent<DxChartAxisTitle, DevExpress.Blazor.Internal.ChartAxisTitleModel>
DxChartAxisTitle
See Also