You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Programmatically hover a point, such that it gets visually highlighted. This will trigger a `pointover` or `pointout` event unless `options.preventEvent === true`.
294
+
295
+
**Arguments:**
296
+
297
+
-`points` is an array of point indices.
298
+
-`options`[optional] is an object with the following properties:
299
+
-`showReticleOnce`: if `true` the reticle will be shown once, even if `showReticle === false`.
300
+
-`preventEvent`: if `true` the `pointover` and `pointout` will not be published.
301
+
302
+
**Examples:**
303
+
304
+
```javascript
305
+
scatterplot.draw([
306
+
[0.1, 0.1],
307
+
[0.2, 0.2],
308
+
[0.3, 0.3],
309
+
]);
310
+
311
+
scatterplot.hover(1); // To hover the second point
312
+
```
313
+
291
314
**Arguments:**
292
315
293
316
-`options`[optional] is an object with the following properties:
0 commit comments