Skip to main content
A newer version of this page is available. .

DxChartAxisLabel Class

Defines settings for axis labels.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public class DxChartAxisLabel :
    DxSettingsComponent<ChartAxisLabelModel>

Remarks

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

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

<DxChartValueAxis>
    <DxChartAxisLabel Format="ChartAxisLabelFormat.Decimal"></DxChartAxisLabel>
</DxChartValueAxis>

Run Demo: Charts - Multiple Axes

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

You can use the CssClass property to apply a custom style to labels.

Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.ChartAxisLabelModel>
DxChartAxisLabel
See Also