@@ -46,7 +46,11 @@ module.exports = {
46
46
editType : 'none' ,
47
47
description : [
48
48
'Sets the default distance (in pixels) to look for data' ,
49
- 'to add hover labels (-1 means no cutoff, 0 means no looking for data)'
49
+ 'to add hover labels (-1 means no cutoff, 0 means no looking for data).' ,
50
+ 'This is only a real distance for hovering on point-like objects,' ,
51
+ 'like scatter points. For area-like objects (bars, scatter fills, etc)' ,
52
+ 'hovering is on inside the area and off outside, but these objects' ,
53
+ 'will not supersede hover on point-like objects in case of conflict.'
50
54
] . join ( ' ' )
51
55
} ,
52
56
spikedistance : {
@@ -57,7 +61,10 @@ module.exports = {
57
61
editType : 'none' ,
58
62
description : [
59
63
'Sets the default distance (in pixels) to look for data to draw' ,
60
- 'spikelines to (-1 means no cutoff, 0 means no looking for data).'
64
+ 'spikelines to (-1 means no cutoff, 0 means no looking for data).' ,
65
+ 'As with hoverdistance, distance does not apply to area-like objects.' ,
66
+ 'In addition, some objects can be hovered on but will not generate' ,
67
+ 'spikelines, such as scatter fills.'
61
68
] . join ( ' ' )
62
69
} ,
63
70
hoverlabel : {
0 commit comments