@@ -159,16 +159,15 @@ module.exports = {
159
159
} ,
160
160
x : {
161
161
valType : 'number' ,
162
- min : - 2 ,
163
- max : 3 ,
164
162
editType : 'legend' ,
165
163
description : [
166
164
'Sets the x position with respect to `xref` (in normalized coordinates) of the legend.' ,
167
165
'When `xref` is *paper*, defaults to *1.02* for vertical legends and' ,
168
166
'defaults to *0* for horizontal legends.' ,
169
167
'When `xref` is *container*, defaults to *1* for vertical legends and' ,
170
168
'defaults to *0* for horizontal legends.' ,
171
- 'Must be between *0* and *1* if `xref` is *container*.'
169
+ 'Must be between *0* and *1* if `xref` is *container*.' ,
170
+ 'and between *-2* and *3* if `xref` is *paper*.'
172
171
] . join ( ' ' )
173
172
} ,
174
173
xref : {
@@ -198,16 +197,15 @@ module.exports = {
198
197
} ,
199
198
y : {
200
199
valType : 'number' ,
201
- min : - 2 ,
202
- max : 3 ,
203
200
editType : 'legend' ,
204
201
description : [
205
202
'Sets the y position with respect to `yref` (in normalized coordinates) of the legend.' ,
206
203
'When `yref` is *paper*, defaults to *1* for vertical legends,' ,
207
204
'defaults to *-0.1* for horizontal legends on graphs w/o range sliders and' ,
208
205
'defaults to *1.1* for horizontal legends on graph with one or multiple range sliders.' ,
209
206
'When `yref` is *container*, defaults to *1*.' ,
210
- 'Must be between *0* and *1* if `yref` is *container*.'
207
+ 'Must be between *0* and *1* if `yref` is *container*' ,
208
+ 'and between *-2* and *3* if `yref` is *paper*.'
211
209
] . join ( ' ' )
212
210
} ,
213
211
yref : {
0 commit comments