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

DxChartAxisLabel Class

Defines settings for axis labels.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public class DxChartAxisLabel :
    DxChartAxisLabelBase<ChartAxisLabelModel>

#Remarks

The DxChartAxisLabel component allows you to configure labels for DxChartArgumentAxis and DxChartValueAxis.

Use the Format property to change the display format for labels. All predefined formats are available in the ChartElementFormat class.

Razor
<DxChartValueAxis>
    <DxChartAxisLabel Format="ChartElementFormat.Decimal()"></DxChartAxisLabel>
</DxChartValueAxis>

Run Demo: Charts - Multiple Axes

To hide axis labels, set the Visible property to false.

Refer to the following section for more information about axis labels: Axis Labels.

#Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.ChartAxisLabelBaseModel>
DxComplexSettingsComponent<DxChartAxisLabelBase<DevExpress.Blazor.Internal.ChartAxisLabelModel>, DevExpress.Blazor.Internal.ChartAxisLabelBaseModel>
DxChartAxisLabelBase<DevExpress.Blazor.Internal.ChartAxisLabelModel>
DxChartAxisLabel
See Also