@@ -41,8 +41,9 @@ module.exports = {
41
41
'Sets the max height (in px) of the legend, or max height ratio (reference height * ratio) if less than one.' ,
42
42
'Default value is: 0.5 for horizontal legends; 1 for vertical legends. The minimum allowed height is 30px.' ,
43
43
'For a ratio of 0.5, the legend will take up to 50% of the reference height before displaying a scrollbar.' ,
44
- 'The reference height is the full layout height except for vertically oriented legends with' ,
45
- 'a `yref` of `"paper"`, where the reference height is the plot height.'
44
+ 'The reference height is the full layout height with the following exception: vertically oriented legends with' ,
45
+ 'a `yref` of `"paper"`, unless the legend is located above/below the plot. In this case, the reference height' ,
46
+ 'is the plot height.'
46
47
] . join ( ' ' )
47
48
} ,
48
49
borderwidth : {
@@ -243,7 +244,7 @@ module.exports = {
243
244
values : [ 'auto' , 'top' , 'middle' , 'bottom' ] ,
244
245
editType : 'legend' ,
245
246
description : [
246
- 'Sets the legend\'s vertical position anchor' ,
247
+ 'Sets the legend\'s vertical position anchor. ' ,
247
248
'This anchor binds the `y` position to the *top*, *middle*' ,
248
249
'or *bottom* of the legend.' ,
249
250
'Value *auto* anchors legends at their bottom for `y` values less than or equal to 1/3,' ,
0 commit comments