Back to Devexpress

HeatmapAxis.LabelVisibilityMode Property

wpf-devexpress-dot-xpf-dot-charts-dot-heatmap-dot-heatmapaxis-4170a9e0.md

latest2.1 KB
Original Source

HeatmapAxis.LabelVisibilityMode Property

Specifies how to display custom axis labels with default axis labels in a heatmap.

Namespace : DevExpress.Xpf.Charts.Heatmap

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public AxisLabelVisibilityMode LabelVisibilityMode { get; set; }
vb
Public Property LabelVisibilityMode As AxisLabelVisibilityMode

Property Value

TypeDescription
AxisLabelVisibilityMode

A value that defines the visibility mode for heatmap axis labels.

|

Available values:

NameDescription
Default

If an axis has custom labels, then automatically generated labels are not displayed.

| | AutoGeneratedAndCustom |

An axis marked using both a custom and automatically generated axis.

|

Remarks

Set the LabelVisibilityMode property to AutoGeneratedAndCustom to show custom labels with default labels. Otherwise, only custom labels will be visible.

The following example displays a custom label on an x-axis:

xaml
<dxh:HeatmapControl.AxisX>
    <dxh:HeatmapAxis LabelVisibilityMode="AutoGeneratedAndCustom">
        <dxh:HeatmapAxis.CustomLabels>
            <dxc:CustomAxisLabel Value="West" 
                                 Content="Division: West"/>
        </dxh:HeatmapAxis.CustomLabels>
    </dxh:HeatmapAxis>
</dxh:HeatmapControl.AxisX>

See Also

HeatmapAxis Class

HeatmapAxis Members

DevExpress.Xpf.Charts.Heatmap Namespace