Skip to content

Commit 7a32036

Browse files
committed
update description of hoverinfo in sankey
1 parent 87c30fe commit 7a32036

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/traces/sankey/attributes.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
'use strict';
1010

1111
var fontAttrs = require('../../plots/font_attributes');
12-
var plotAttrs = require('../../plots/attributes');
1312
var colorAttrs = require('../../components/color/attributes');
1413
var fxAttrs = require('../../components/fx/attributes');
1514
var domainAttrs = require('../../plots/domain').attributes;
@@ -127,7 +126,11 @@ var attrs = module.exports = overrideAll({
127126
dflt: 'all',
128127
role: 'info',
129128
editType: 'none',
130-
description: plotAttrs.hoverinfo.description
129+
description: [
130+
'Determines which trace information appear when hovering nodes.',
131+
'If `none` or `skip` are set, no information is displayed upon hovering.',
132+
'But, if `none` is set, click and hover events are still fired.'
133+
].join(' ')
131134
},
132135
hoverlabel: fxAttrs.hoverlabel, // needs editType override,
133136
description: 'The nodes of the Sankey plot.'
@@ -194,7 +197,11 @@ var attrs = module.exports = overrideAll({
194197
dflt: 'all',
195198
role: 'info',
196199
editType: 'none',
197-
description: plotAttrs.hoverinfo.description
200+
description: [
201+
'Determines which trace information appear when hovering links.',
202+
'If `none` or `skip` are set, no information is displayed upon hovering.',
203+
'But, if `none` is set, click and hover events are still fired.'
204+
].join(' ')
198205
},
199206
hoverlabel: fxAttrs.hoverlabel, // needs editType override,
200207
description: 'The links of the Sankey plot.'

0 commit comments

Comments
 (0)