Skip to main content

Interface: Cursor

Defined in: packages/sdvplot/src/selection.ts:15

A shared hover VALUE (J34): a number along one data field, such as the shot distance under the pointer, that every linked chart draws through its own scale (a rule, a band, a ring). Not an id: it never dims marks or filters a table. Unrelated to sdvtables' TableCursor (a grid's keyboard row).

Properties​

field​

readonly field: string

Defined in: packages/sdvplot/src/selection.ts:17

The data field the value is in, e.g. "shot_distance". Never "".


value​

readonly value: number

Defined in: packages/sdvplot/src/selection.ts:19

The value along that field. Always finite.