File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ var barAttrs = require('../bar/attributes');
12
12
var hovertemplateAttrs = require ( '../../components/fx/hovertemplate_attributes' ) ;
13
13
var makeBinAttrs = require ( './bin_attributes' ) ;
14
14
var constants = require ( './constants' ) ;
15
+ var extendFlat = require ( '../../lib/extend' ) . extendFlat ;
15
16
16
17
module . exports = {
17
18
x : {
@@ -29,7 +30,14 @@ module.exports = {
29
30
] . join ( ' ' )
30
31
} ,
31
32
32
- text : barAttrs . text ,
33
+ text : extendFlat ( { } , barAttrs . text , {
34
+ description : [
35
+ 'Sets hover text elements associated with each bar.' ,
36
+ 'If a single string, the same string appears over all bars.' ,
37
+ 'If an array of string, the items are mapped in order to the' ,
38
+ 'this trace\'s coordinates.'
39
+ ] . join ( ' ' )
40
+ } ) ,
33
41
orientation : barAttrs . orientation ,
34
42
35
43
histfunc : {
You can’t perform that action at this time.
0 commit comments