HierarchyMark<T> Class
A mark that draws the nodes of a tree in the plot area, without position scales. The nodes are colored by the color scale.
public abstract class HierarchyMark<T> : MarkType parameters
T- The type of the data of the nodes.
- Inheritance
MarkHierarchyMark<T>
Properties
| Name | Description |
|---|---|
| DataAttributes | Gets or sets the data-* attributes of the shape of a node in the SVG output, or null for none. See Mark<T>.DataAttributes for the names and the values. |
| Fill | Gets or sets the channel of the fill color of a node, or null for the name of its ancestor at depth 1 (its top-level group). |
| FillColor | Gets or sets a single fill color for every node, used when HierarchyMark<T>.Fill is not set. |
| Label | Gets or sets the label of a node, or null for its name. A label is drawn only when it fits. |
| Root | Gets the root of the tree. Its values must be computed (HierarchyNode<T>.Sum). |
| Title | Gets or sets the tooltip of a node, or null for its path and its value. |
DataAttributes
HierarchyMark`1.csGets or sets the data-* attributes of the shape of a node in the SVG output, or null for none. See Mark<T>.DataAttributes for the names and the values.
public Func<HierarchyNode<T>, IEnumerable<KeyValuePair<string, object?>>?>? DataAttributes { get; set; }Gets or sets the channel of the fill color of a node, or null for the name of its ancestor at depth 1 (its top-level group).
public Func<HierarchyNode<T>, object?>? Fill { get; set; }Property value
FillColor
HierarchyMark`1.csGets or sets a single fill color for every node, used when HierarchyMark<T>.Fill is not set.
public ChartColor? FillColor { get; set; }Property value
Label
HierarchyMark`1.csGets or sets the label of a node, or null for its name. A label is drawn only when it fits.
public Func<HierarchyNode<T>, string?>? Label { get; set; }Property value
Gets the root of the tree. Its values must be computed (HierarchyNode<T>.Sum).
public HierarchyNode<T> Root { get; }Property value
Title
HierarchyMark`1.csGets or sets the tooltip of a node, or null for its path and its value.
public Func<HierarchyNode<T>, string?>? Title { get; set; }