UNPKG

867 BMarkdownView Raw
1## jquery.flot.hover.js
2
3This plugin is used for mouse hover and tap on a point of plot series.
4It supports the following options:
5```js
6grid: {
7 hoverable: false, //to trigger plothover event on mouse hover or tap on a point
8 clickable: false //to trigger plotclick event on mouse hover
9}
10```
11
12It listens to native mouse move event or click, as well as artificial generated
13tap and touchevent.
14
15When the mouse is over a point or a tap on a point is performed, that point or
16the correscponding bar will be highlighted and a "plothover" event will be generated.
17
18Custom "touchevent" is triggered when any touch interaction is made. Hover plugin
19handles this events by unhighlighting all of the previously highlighted points and generates
20"plothovercleanup" event to notify any part that is handling plothover (for exemple to cleanup
21the tooltip from webcharts).