Skip to content

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 ParameterDefault type
TDataunknown

Properties ​

PropertyTypeDescriptionDefined in
data?TDataThe datum from the source SunburstNode, if one was provided.charts/src/charts/sunburst.ts:110
idstringThe node's unique id.charts/src/charts/sunburst.ts:108
labelstringThe node's display label.charts/src/charts/sunburst.ts:106
valuenumberThe node's numeric value.charts/src/charts/sunburst.ts:104
xnumberX position of the segment centroid, in canvas coordinates.charts/src/charts/sunburst.ts:100
ynumberY position of the segment centroid, in canvas coordinates.charts/src/charts/sunburst.ts:102