All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

TreemapSeriesOptions.ParentLabelLayout Property

Returns or specifies the layout of parent labels in a treemap chart.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v20.2.Core.dll

Declaration

TreemapParentLabelLayout ParentLabelLayout { get; set; }
Property ParentLabelLayout As TreemapParentLabelLayout

Property Value

Type Description
TreemapParentLabelLayout

An enumeration member that specifies how parent labels are displayed in the chart.

Property Paths

You can access this nested property as listed below:

Object Type Path to ParentLabelLayout
SeriesLayoutOptions
.Treemap.ParentLabelLayout

Remarks

The example below creates a treemap chart. Parent labels are displayed as banners above the categories.

// Create a treemap chart and specify its location.
Chart chart = worksheet.Charts.Add(ChartType.Treemap, worksheet["B2:E14"]);
chart.TopLeftCell = worksheet.Cells["G2"];
chart.BottomRightCell = worksheet.Cells["N17"];

// Specify series options.
var options = chart.Series[0].LayoutOptions.Treemap;
options.ParentLabelLayout = TreemapParentLabelLayout.Banner;

// Add the chart title.
chart.Title.Visible = true;
chart.Title.SetValue("Daily Food Sales");
See Also