Documentation / @ripl/charts / SunburstChartSegmentEvent
Interface: SunburstChartSegmentEvent<TData>
Defined in: charts/src/charts/sunburst.ts:89
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:101 |
id | string | The node's unique id. | charts/src/charts/sunburst.ts:99 |
label | string | The node's display label. | charts/src/charts/sunburst.ts:97 |
value | number | The node's numeric value. | charts/src/charts/sunburst.ts:95 |
x | number | X position of the segment centroid, in canvas coordinates. | charts/src/charts/sunburst.ts:91 |
y | number | Y position of the segment centroid, in canvas coordinates. | charts/src/charts/sunburst.ts:93 |