Skip to main content
All docs
V24.2

HeatmapLabel.TextOrientation Property

Gets or sets the text orientation for heatmap labels.

Namespace: DevExpress.Xpf.Charts.Heatmap

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public TextOrientation TextOrientation { get; set; }

Property Value

Type Description
TextOrientation

Specifies text orientation.

Available values:

Name Description
Horizontal

The series labels are horizontal.

TextOrientation_Horizontal

TopToBottom

The series labels are vertical, rotated clockwise.

TextOrientation_TopToBottom

BottomToTop

The series labels are vertical, rotated counterclockwise.

TextOrientation_BottomToTop

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