Chart.js/docs/general/interactions
Evert Timberg 3e94b9431a Update the docs structure/content to use GitBook (#3751)
Update the docs structure/content to use GitBook
2017-03-20 20:36:54 -04:00
..
events.md Update the docs structure/content to use GitBook (#3751) 2017-03-20 20:36:54 -04:00
modes.md Update the docs structure/content to use GitBook (#3751) 2017-03-20 20:36:54 -04:00
README.md Update the docs structure/content to use GitBook (#3751) 2017-03-20 20:36:54 -04:00

Interactions

The hover configuration is passed into the options.hover namespace. The global hover configuration is at Chart.defaults.global.hover. To configure which events trigger chart interactions, see events.

Name Type Default Description
mode String 'nearest' Sets which elements appear in the tooltip. See Interaction Modes for details.
intersect Boolean true if true, the hover mode only applies when the mouse position intersects an item on the chart.
animationDuration Number 400 Duration in milliseconds it takes to animate hover style changes.