Skip to content

Function: domainHover() ​

ts
function domainHover<C, T, Q, H, P>(hoverPoints, calc, trace, query, ctx): P[] | undefined;

Experimental

A domain trace's hoverPoints in 2.5D: the pointer (query.cx, query.cy) mapped onto the flat trace, the points' anchors onto the tilted one. Undefined when the trace is flat.

Type Parameters ​

Type Parameter
C
T
Q extends object
H
P extends Anchored

Parameters ​

ParameterType
hoverPoints(calc, trace, query, ctx) => readonly P[]
calcC
traceT
queryQ
ctxH

Returns ​

P[] | undefined

Released under the MIT License.