PartitionMark<T> Class

Draws a tree as adjacent layers, one per depth (PartitionLayout): an icicle chart in Cartesian coordinates (horizontal layers from the top down, or vertical layers from the left when transposed), and a sunburst in polar coordinates (rings from the center out). The size of a node along its layer is proportional to its value.

public sealed class PartitionMark<T> : HierarchyMark<T>

Type parameters

T
The type of the data of the nodes.
Inheritance
HierarchyMark<T> PartitionMark<T>

Constructors

NameDescription
PartitionMark(HierarchyNode<T>)Initializes a new instance of the PartitionMark<T> class.

PartitionMark(HierarchyNode<T>)

PartitionMark.cs

Initializes a new instance of the PartitionMark<T> class.

public PartitionMark(HierarchyNode<T> root)

Parameters

root HierarchyNode<T>
The root of the tree. Its values must be computed (HierarchyNode<T>.Sum).

Properties

NameDescription
ShowRootGets or sets a value that indicates whether the root is drawn, as the first layer. The default is false.

Gets or sets a value that indicates whether the root is drawn, as the first layer. The default is false.

public bool ShowRoot { get; set; }

Property value

bool