Skip to main content

DxChartAxisLabel Class

Defines settings for axis labels.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.2.dll

Declaration

public class DxChartAxisLabel :
    DxSettingsComponent<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.

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

Run Demo: Charts - Multiple Axes

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

Inheritance

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