File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,21 @@ var colorAttrs = require('../../components/color/attributes');
14
14
var fxAttrs = require ( '../../components/fx/attributes' ) ;
15
15
var domainAttrs = require ( '../../plots/domain' ) . attributes ;
16
16
17
+ var extendFlat = require ( '../../lib/extend' ) . extendFlat ;
17
18
var overrideAll = require ( '../../plot_api/edit_types' ) . overrideAll ;
18
19
19
20
module . exports = overrideAll ( {
20
- hoverinfo : plotAttrs . hoverinfo ,
21
+ hoverinfo : extendFlat ( { } , plotAttrs . hoverinfo , {
22
+ flags : [ ] ,
23
+ arrayOk : false ,
24
+ description : [
25
+ 'Determines which trace information appear on hover.' ,
26
+ 'If `none` or `skip` are set, no information is displayed upon hovering.' ,
27
+ 'But, if `none` is set, click and hover events are still fired.' ,
28
+ 'Note that this attribute is superseded by `node.hoverinfo` and `node.hoverinfo`' ,
29
+ 'for nodes and links respectively.'
30
+ ] . join ( ' ' )
31
+ } ) ,
21
32
hoverlabel : fxAttrs . hoverlabel ,
22
33
domain : domainAttrs ( { name : 'sankey' , trace : true } ) ,
23
34
You can’t perform that action at this time.
0 commit comments