Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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