Skip to content

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

Properties

PropertyTypeDescriptionDefined in
data?TDataThe datum from the source SunburstNode, if one was provided.charts/src/charts/sunburst.ts:101
idstringThe node's unique id.charts/src/charts/sunburst.ts:99
labelstringThe node's display label.charts/src/charts/sunburst.ts:97
valuenumberThe node's numeric value.charts/src/charts/sunburst.ts:95
xnumberX position of the segment centroid, in canvas coordinates.charts/src/charts/sunburst.ts:91
ynumberY position of the segment centroid, in canvas coordinates.charts/src/charts/sunburst.ts:93