Skip to content
ChartForgeX
Struct

ChartHierarchyItem

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

An area-hierarchy node with explicit identity, optional parent, authored size and independent numeric color.

Inheritance

  • ValueType
  • ChartHierarchyItem

Usage

Explore 8 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Accepted by parameters 6

Constructors

public ChartHierarchyItem(string id, string label, string? parentId = null, double? value = null, double? colorValue = null) #

Creates a node. Leaf/group size requirements are validated with the complete item collection and chart policy.

Parameters

id string required
label string required
parentId string? = null optional
value double? = null optional
colorValue double? = null optional

Properties

public string Id { get; } #

Gets the authored ID used by parents and interactive targets.

public string Label { get; } #

Gets the display label, which may repeat on other nodes.

public string? ParentId { get; } #

Gets the parent ID, or null for a root or standalone leaf.

public double? Value { get; } #

Gets the authored size. Leaves require a value; the chart's parent-value policy determines group sizing.

public double? ColorValue { get; } #

Gets the independent numeric color value, or null when no color measurement is supplied.