Table of Contents

Class BOBChartTreemapClickArgs<TY>

Namespace
BlazOrbit.Charts.Models
Assembly
BlazOrbit.Charts.dll

Event payload raised when the user clicks a treemap / sunburst node. Carries the hierarchical path (root-to-node labels) so consumers can drill into the underlying dataset without having to walk the tree themselves.

public sealed record BOBChartTreemapClickArgs<TY>

Type Parameters

TY

Numeric type of the node value.

Inheritance
object
BOBChartTreemapClickArgs<TY>

Constructors

BOBChartTreemapClickArgs(BOBChartTreemapNode<TY>, IReadOnlyList<string>, int)

Event payload raised when the user clicks a treemap / sunburst node. Carries the hierarchical path (root-to-node labels) so consumers can drill into the underlying dataset without having to walk the tree themselves.

public BOBChartTreemapClickArgs(BOBChartTreemapNode<TY> Node, IReadOnlyList<string> Path, int Depth)

Parameters

Node BOBChartTreemapNode<TY>

The clicked node (leaf or branch).

Path IReadOnlyList<string>

Ordered labels from the root down to the clicked node, inclusive.

Depth int

0-based depth - root nodes at 0, their children at 1, etc.

Properties

Depth

0-based depth - root nodes at 0, their children at 1, etc.

public int Depth { get; init; }

Property Value

int

Node

The clicked node (leaf or branch).

public BOBChartTreemapNode<TY> Node { get; init; }

Property Value

BOBChartTreemapNode<TY>

Path

Ordered labels from the root down to the clicked node, inclusive.

public IReadOnlyList<string> Path { get; init; }

Property Value

IReadOnlyList<string>