@@ -138,7 +138,12 @@ module.exports = {
138138 flags : [ 'label' , 'text' , 'value' , 'current path' , 'percent root' , 'percent entry' , 'percent parent' ] ,
139139 extras : [ 'none' ] ,
140140 editType : 'plot' ,
141- description : [ 'Determines which trace information appear on the graph.' ] . join ( ' ' )
141+ description : [
142+ 'Determines what trace information appears on the graph.' ,
143+ 'Flags are rendered in a fixed order; use `texttemplate` if you' ,
144+ 'need explicit control over the rendered string, including the' ,
145+ 'order of fields and surrounding text.'
146+ ] . join ( ' ' )
142147 } ,
143148
144149 // TODO: incorporate `label` and `value` in the eventData
@@ -148,7 +153,13 @@ module.exports = {
148153 hovertext : pieAttrs . hovertext ,
149154 hoverinfo : extendFlat ( { } , baseAttrs . hoverinfo , {
150155 flags : [ 'label' , 'text' , 'value' , 'name' , 'current path' , 'percent root' , 'percent entry' , 'percent parent' ] ,
151- dflt : 'label+text+value+name'
156+ dflt : 'label+text+value+name' ,
157+ description : [
158+ 'Determines what trace information appears on hover.' ,
159+ 'Flags are rendered in a fixed order; use `hovertemplate` if you' ,
160+ 'need explicit control over the rendered string, including the' ,
161+ 'order of fields and surrounding text.'
162+ ] . join ( ' ' )
152163 } ) ,
153164 hovertemplate : hovertemplateAttrs ( { } , { keys : constants . eventDataKeys } ) ,
154165 hovertemplatefallback : templatefallbackAttrs ( ) ,
0 commit comments