Class BOBChartTreemapClickArgs<TY>
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
TYNumeric type of the node value.
- Inheritance
-
objectBOBChartTreemapClickArgs<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
NodeBOBChartTreemapNode<TY>The clicked node (leaf or branch).
PathIReadOnlyList<string>Ordered labels from the root down to the clicked node, inclusive.
Depthint0-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
Path
Ordered labels from the root down to the clicked node, inclusive.
public IReadOnlyList<string> Path { get; init; }
Property Value
- IReadOnlyList<string>