Skip to content

Documentation / @ripl/charts / PieChartSegmentEvent

Interface: PieChartSegmentEvent

Defined in: charts/src/charts/pie.ts:110

Payload emitted for pie segment interaction events.

Properties

PropertyTypeDescriptionDefined in
keystringThe segment's unique key.charts/src/charts/pie.ts:120
labelstringThe segment's display label.charts/src/charts/pie.ts:118
valuenumberThe segment's numeric value.charts/src/charts/pie.ts:116
xnumberX position of the segment centroid, in canvas coordinates.charts/src/charts/pie.ts:112
ynumberY position of the segment centroid, in canvas coordinates.charts/src/charts/pie.ts:114