Function: hover()
ts
function hover(el, target): void;Show hover labels and emit hover programmatically (Plotly Fx.hover): points by trace and index, or a position in data units. See Chart.hover.
Parameters
| Parameter | Type |
|---|---|
el | HTMLElement |
target | | readonly object[] | { subplot?: string; xval?: unknown; yval?: unknown; } |
Returns
void