DxChartAxisLabel Class
Defines settings for axis labels.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v23.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public class DxChartAxisLabel :
DxComplexSettingsComponent<DxChartAxisLabel, ChartAxisLabelModel>,
IModelProvider<ChartFontModel>
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>
To hide axis labels, set the Visible property to false
.
You can also use the DxChartFont object to customize font settings of an axis label. Refer to Font Customization for more information.
Inheritance
Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.ChartAxisLabelModel>
DxComplexSettingsComponent<DxChartAxisLabel, DevExpress.Blazor.Internal.ChartAxisLabelModel>
DxChartAxisLabel
See Also