File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 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');
1212var hovertemplateAttrs = require ( '../../components/fx/hovertemplate_attributes' ) ;
1313var makeBinAttrs = require ( './bin_attributes' ) ;
1414var constants = require ( './constants' ) ;
15+ var extendFlat = require ( '../../lib/extend' ) . extendFlat ;
1516
1617module . exports = {
1718 x : {
@@ -29,7 +30,14 @@ module.exports = {
2930 ] . join ( ' ' )
3031 } ,
3132
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+ } ) ,
3341 orientation : barAttrs . orientation ,
3442
3543 histfunc : {
You can’t perform that action at this time.
0 commit comments