|
9 | 9 | 'use strict'; |
10 | 10 |
|
11 | 11 | var fontAttrs = require('../../plots/font_attributes'); |
12 | | -var plotAttrs = require('../../plots/attributes'); |
13 | 12 | var colorAttrs = require('../../components/color/attributes'); |
14 | 13 | var fxAttrs = require('../../components/fx/attributes'); |
15 | 14 | var domainAttrs = require('../../plots/domain').attributes; |
@@ -127,7 +126,11 @@ var attrs = module.exports = overrideAll({ |
127 | 126 | dflt: 'all', |
128 | 127 | role: 'info', |
129 | 128 | 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(' ') |
131 | 134 | }, |
132 | 135 | hoverlabel: fxAttrs.hoverlabel, // needs editType override, |
133 | 136 | description: 'The nodes of the Sankey plot.' |
@@ -194,7 +197,11 @@ var attrs = module.exports = overrideAll({ |
194 | 197 | dflt: 'all', |
195 | 198 | role: 'info', |
196 | 199 | 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(' ') |
198 | 205 | }, |
199 | 206 | hoverlabel: fxAttrs.hoverlabel, // needs editType override, |
200 | 207 | description: 'The links of the Sankey plot.' |
|
0 commit comments