Skip to content

Documentation / @ripl/charts / ChordChartSegmentEvent

Interface: ChordChartSegmentEvent ​

Defined in: charts/src/charts/chord.ts:107

Payload emitted for chord outer-arc interaction events.

Properties ​

PropertyTypeDescriptionDefined in
idstringThe id of the interacted arc.charts/src/charts/chord.ts:113
labelstringThe group label of the interacted arc.charts/src/charts/chord.ts:115
valuenumberThe group's total flow (sum of its matrix row).charts/src/charts/chord.ts:117
xnumberThe x coordinate (in chart pixels) of the arc's centroid.charts/src/charts/chord.ts:109
ynumberThe y coordinate (in chart pixels) of the arc's centroid.charts/src/charts/chord.ts:111