Skip to content

Interface: HoverContext ​

Experimental

Axes and transform of the trace being queried, for converting between linear and px.

Properties ​

PropertyModifierTypeDescription
domain?readonlyDomainInfoExperimental The trace's domain (M2 wave 1): set for domain traces, like TracePlotContext.domain.
fullLayoutreadonlyFullLayoutExperimental
height?readonlynumberExperimental The figure's height in CSS px, set with domain: a domain trace's anchors are overlay px from the bottom (py = height − y of container px), and without a pointer query to take the height from (keyboard stops) this is it.
transformreadonlyReadonly<DataTransform>Experimental Linear → viewport px (bottom-left origin), as used for drawing.
xaxisreadonlyAxisInfo | undefinedExperimental
yaxisreadonlyAxisInfo | undefinedExperimental

Released under the MIT License.