Skip to main content
All docs
V24.2

HeatmapAxis.Label Property

Returns axis label settings.

Namespace: DevExpress.XtraCharts.Heatmap

Assembly: DevExpress.XtraCharts.v24.2.dll

NuGet Package: DevExpress.Charts

#Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Elements)]
public AxisLabel2D Label { get; }

#Property Value

Type Description
AxisLabel2D

Contains axis label settings.

#Remarks

Use an axis’s Label property to access heatmap axis label settings. The example below configures label alignment, rotation, format pattern, and border settings:

Axis labels

AxisLabel2D label = heatmap.AxisX.Label;
label.Alignment = AxisLabelAlignment.Near;
label.Angle = 30;
label.BackColor = Color.LightGray;
label.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
label.Border.Thickness = 1;
label.Border.Color = Color.Gray;
label.TextPattern = "Division: {X}";
See Also