원문 : http://www.chartjs.org/docs/latest/general/interactions/
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 | 설명 |
mode |
String |
'nearest' |
툴팁에 표시 할 요소를 설정합니다. 자세한 내용은 Interaction Modes 를 참조 |
intersect
|
Boolean |
true |
true 의 경우, 마우스가 차트 항목에 닿는 경우 hover 모드 적용 |
animationDuration
|
Number |
400 |
밀리초 |