@@ -266,93 +266,15 @@ module.exports = {
266
266
'Determines whether or not a colorbar is displayed.'
267
267
] . join ( ' ' )
268
268
} ,
269
- line : {
270
- color : {
271
- valType : 'color' ,
272
- arrayOk : true ,
273
- role : 'style' ,
274
- description : [
275
- 'Sets the marker outline color. It accepts either a specific color' ,
276
- 'or an array of values that are mapped to the colorscale' ,
277
- 'relative to the max and min values of the array or relative to' ,
278
- '`cmin` and `cmax` if set.'
279
- ] . join ( ' ' )
280
- } ,
269
+ line : extendDeep ( { } , colorAttributes ( 'marker.line' ) , {
281
270
width : {
282
271
valType : 'number' ,
283
272
min : 0 ,
284
273
arrayOk : true ,
285
274
role : 'style' ,
286
275
description : 'Sets the width (in px) of the lines bounding the marker points.'
287
- } ,
288
- colorscale : {
289
- valType : 'colorscale' ,
290
- role : 'style' ,
291
- description : [
292
- 'Sets the colorscale and only has an effect' ,
293
- 'if `marker.line.color` is set to a numerical array.' ,
294
- 'The colorscale must be an array containing' ,
295
- 'arrays mapping a normalized value to an' ,
296
- 'rgb, rgba, hex, hsl, hsv, or named color string.' ,
297
- 'At minimum, a mapping for the lowest (0) and highest (1)' ,
298
- 'values are required. For example,' ,
299
- '`[[0, \'rgb(0,0,255)\', [1, \'rgb(255,0,0)\']]`.' ,
300
- 'To control the bounds of the colorscale in color space,' ,
301
- 'use `marker.line.cmin` and `marker.line.cmax`.'
302
- ] . join ( ' ' )
303
- } ,
304
- cauto : {
305
- valType : 'boolean' ,
306
- dflt : true ,
307
- role : 'style' ,
308
- description : [
309
- 'Has an effect only if `marker.line.color` is set to a numerical array.' ,
310
- 'Determines the whether or not the color domain is computed' ,
311
- 'with respect to the input data.'
312
- ] . join ( ' ' )
313
- } ,
314
- cmax : {
315
- valType : 'number' ,
316
- dflt : null ,
317
- role : 'info' ,
318
- description : [
319
- 'Has an effect only if `marker.line.color` is set to a numerical array.' ,
320
- 'Sets the upper bound of the color domain.' ,
321
- 'Value should be associated to the `marker.line.color` array index,' ,
322
- 'and if set, `marker.line.cmin` must be set as well.'
323
- ] . join ( ' ' )
324
- } ,
325
- cmin : {
326
- valType : 'number' ,
327
- dflt : null ,
328
- role : 'info' ,
329
- description : [
330
- 'Has an effect only if `marker.line.color` is set to a numerical array.' ,
331
- 'Sets the lower bound of the color domain.' ,
332
- 'Value should be associated to the `marker.line.color` array index,' ,
333
- 'and if set, `marker.line.cmax` must be set as well.'
334
- ] . join ( ' ' )
335
- } ,
336
- autocolorscale : {
337
- valType : 'boolean' ,
338
- dflt : true ,
339
- role : 'style' ,
340
- description : [
341
- 'Has an effect only if `marker.line.color` is set to a numerical array.' ,
342
- 'Determines whether or not the colorscale is picked using' ,
343
- 'the sign of values inside `marker.line.color`.'
344
- ] . join ( ' ' )
345
- } ,
346
- reversescale : {
347
- valType : 'boolean' ,
348
- dflt : false ,
349
- role : 'style' ,
350
- description : [
351
- 'Has an effect only if `marker.line.color` is set to a numerical array.' ,
352
- 'Reverses the colorscale.'
353
- ] . join ( ' ' )
354
276
}
355
- }
277
+ } )
356
278
} ) ,
357
279
textposition : {
358
280
valType : 'enumerated' ,
0 commit comments