Skip to main content
A newer version of this page is available. .
All docs
V21.2

HeatmapLabel Class

Contains options for heatmap labels.

Namespace: DevExpress.Xpf.Charts.Heatmap

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public class HeatmapLabel :
    ChartTextElement,
    INotifyPropertyChanged

The following members return HeatmapLabel objects:

Remarks

Initialize the HeatmapControl.Label property with a HeatmapLabel object to display cell labels. Use the TextPattern property to format the label text.

Example

The following example shows how to display cell labels, format the label text, and configure label appearance:

Cell labels

<dxh:HeatmapControl.Label>
    <dxh:HeatmapLabel Foreground="Black" 
                      Background="#70ffffff" 
                      Padding="2" 
                      TextOrientation="Horizontal"
                      TextPattern="${V}M"/>
</dxh:HeatmapControl.Label>
See Also