Documentation / @ripl/charts / SunburstChartNodeEvent
Interface: SunburstChartNodeEvent<TData> ​
Defined in: charts/src/charts/sunburst.ts:98
Payload emitted for sunburst segment interaction events.
Type Parameters ​
| Type Parameter | Default type |
|---|---|
TData | unknown |
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
data? | TData | The datum from the source SunburstNode, if one was provided. | charts/src/charts/sunburst.ts:110 |
id | string | The node's unique id. | charts/src/charts/sunburst.ts:108 |
label | string | The node's display label. | charts/src/charts/sunburst.ts:106 |
value | number | The node's numeric value. | charts/src/charts/sunburst.ts:104 |
x | number | X position of the segment centroid, in canvas coordinates. | charts/src/charts/sunburst.ts:100 |
y | number | Y position of the segment centroid, in canvas coordinates. | charts/src/charts/sunburst.ts:102 |