Interface: SelectionEventData
Payload of selecting and selected (E6.3).
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
event? | readonly | Event | - |
lassoPoints? | readonly | Readonly<Record<string, readonly unknown[]>> | Lasso selections: the polygon in data (range) units, keyed by axis id. |
points | readonly | readonly ChartPoint[] | - |
range? | readonly | Readonly<Record<string, readonly [unknown, unknown]>> | Box selections: the box in data (range) units, keyed by axis id ({ x: [..], y: [..] }). |
selections? | readonly | readonly unknown[] | layout.selections after this selection (E5.12, Plotly 2.13+): box and lasso drags store their outline there; also set when a selection was moved or resized. |