TreemapNode

A built-in hierarchical model for treemap series. Leaves carry the numeric weight via TreemapNode.Value; internal nodes either carry an explicit aggregate value or leave it as 0, in which case the series rolls children up automatically.

Class · Namespace LiveChartsCore.Defaults · Assembly LiveChartsCore · View source

Inheritance

Object TreemapNode

Members

Properties

Value Double
The weight of the node (typically only set on leaves).
Guide: Hierarchy and values
Name String
An optional human-readable name; surfaced via the label mapper.
Guide: Labels
Children IEnumerable<TreemapNode>
The children of this node, or null for a leaf.

Constructors

TreemapNode No parameters

Initializes a new instance of the TreemapNode class.

TreemapNode 2 parameters

Initializes a new leaf TreemapNode with the given value and optional name.

Double value *summary not found*

String name *summary not found*

TreemapNode 2 parameters

Initializes a new internal TreemapNode with children and an optional name. The aggregate value is rolled up from the children.

String name *summary not found*

IEnumerable<TreemapNode> children *summary not found*