corelibraries-devexpress-dot-xtracharts-dot-heatmap-dot-heatmapaxis-cc175ea7.md
Returns axis label settings.
Namespace : DevExpress.XtraCharts.Heatmap
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[XtraChartsLocalizableCategory(XtraChartsCategory.Elements)]
public AxisLabel2D Label { get; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Elements)>
Public ReadOnly Property Label As AxisLabel2D
| Type | Description |
|---|---|
| AxisLabel2D |
Contains axis label settings.
|
Use an axis’s Label property to access heatmap axis label settings. The example below configures label alignment, rotation, format pattern, and border settings:
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}";
Dim label As AxisLabel2D = 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