1 | ## jquery.flot.hover.js
|
2 |
|
3 | This plugin is used for mouse hover and tap on a point of plot series.
|
4 | It supports the following options:
|
5 | ```js
|
6 | grid: {
|
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 |
|
12 | It listens to native mouse move event or click, as well as artificial generated
|
13 | tap and touchevent.
|
14 |
|
15 | When the mouse is over a point or a tap on a point is performed, that point or
|
16 | the correscponding bar will be highlighted and a "plothover" event will be generated.
|
17 |
|
18 | Custom "touchevent" is triggered when any touch interaction is made. Hover plugin
|
19 | handles 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
|
21 | the tooltip from webcharts).
|