File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 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');
1414var fxAttrs = require ( '../../components/fx/attributes' ) ;
1515var domainAttrs = require ( '../../plots/domain' ) . attributes ;
1616
17+ var extendFlat = require ( '../../lib/extend' ) . extendFlat ;
1718var overrideAll = require ( '../../plot_api/edit_types' ) . overrideAll ;
1819
1920module . 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+ } ) ,
2132 hoverlabel : fxAttrs . hoverlabel ,
2233 domain : domainAttrs ( { name : 'sankey' , trace : true } ) ,
2334
You can’t perform that action at this time.
0 commit comments