HoverConfig
interface HoverConfig<A extends Annotation, C extends Chart>
An interface that defines the parameters for a call to the hoverBehavior function.
Type parameters
A: Annotation
C: Chart
Properties
annotations
annotations: A []
The Annotations to which the interaction is applied.
chart
chart: undefined | C
The Chart to which the interaction is applied.
mouseout
mouseout: InteractionCallback <A, C>
A callback function that will be responsible for executing the mouseout behavior. It receives a d3 selection of the glyph and the Annotation object it represents as arguments.
mouseover
mouseover: InteractionCallback <A, C>
A callback function that will be responsible for executing the mouseover behavior. It receives a d3 selection of the glyph and the Annotation object it represents as arguments.
selector
selector: undefined | string
The selector of the glyphs to which the interaction is applied.