@@ -200,7 +200,12 @@ module.exports = {
200
200
valType : 'color' ,
201
201
arrayOk : true ,
202
202
role : 'style' ,
203
- description : 'Sets the marker color.'
203
+ description : [
204
+ 'Sets the marker color. It accepts either a specific color' ,
205
+ 'or an array of values that are mapped to the colorscale' ,
206
+ 'relative to the max and min values of the array or relative to' ,
207
+ '`cmin` and `cmax` if set.'
208
+ ] . join ( ' ' )
204
209
} ,
205
210
maxdisplayed : {
206
211
valType : 'number' ,
@@ -247,15 +252,16 @@ module.exports = {
247
252
valType : 'colorscale' ,
248
253
role : 'style' ,
249
254
description : [
250
- 'Sets the colorscale.' ,
255
+ 'Sets the colorscale and only has an effect' ,
256
+ 'if `marker.color` is set to a numerical array.' ,
251
257
'The colorscale must be an array containing' ,
252
258
'arrays mapping a normalized value to an' ,
253
259
'rgb, rgba, hex, hsl, hsv, or named color string.' ,
254
260
'At minimum, a mapping for the lowest (0) and highest (1)' ,
255
261
'values are required. For example,' ,
256
262
'`[[0, \'rgb(0,0,255)\', [1, \'rgb(255,0,0)\']]`.' ,
257
263
'To control the bounds of the colorscale in color space,' ,
258
- 'use cmin and cmax'
264
+ 'use `marker. cmin` and `marker. cmax`. '
259
265
] . join ( ' ' )
260
266
} ,
261
267
cauto : {
@@ -274,7 +280,9 @@ module.exports = {
274
280
role : 'info' ,
275
281
description : [
276
282
'Has only an effect if `marker.color` is set to a numerical array.' ,
277
- 'Sets the upper bound of the color domain.'
283
+ 'Sets the upper bound of the color domain.' ,
284
+ 'Value should be associated to the `marker.color` array index,' ,
285
+ 'and if set, `marker.cmin` must be set as well.'
278
286
] . join ( ' ' )
279
287
} ,
280
288
cmin : {
@@ -283,7 +291,9 @@ module.exports = {
283
291
role : 'info' ,
284
292
description : [
285
293
'Has only an effect if `marker.color` is set to a numerical array.' ,
286
- 'Sets the lower bound of the color domain.'
294
+ 'Sets the lower bound of the color domain.' ,
295
+ 'Value should be associated to the `marker.color` array index,' ,
296
+ 'and if set, `marker.cmax` must be set as well.'
287
297
] . join ( ' ' )
288
298
} ,
289
299
autocolorscale : {
@@ -319,7 +329,12 @@ module.exports = {
319
329
valType : 'color' ,
320
330
arrayOk : true ,
321
331
role : 'style' ,
322
- description : 'Sets the color of the lines bounding the marker points.'
332
+ description : [
333
+ 'Sets the marker outline color. It accepts either a specific color' ,
334
+ 'or an array of values that are mapped to the colorscale' ,
335
+ 'relative to the max and min values of the array or relative to' ,
336
+ '`cmin` and `cmax` if set.'
337
+ ] . join ( ' ' )
323
338
} ,
324
339
width : {
325
340
valType : 'number' ,
@@ -332,8 +347,16 @@ module.exports = {
332
347
valType : 'colorscale' ,
333
348
role : 'style' ,
334
349
description : [
335
- 'Has only an effect if `marker.line.color` is set to a numerical array.' ,
336
- 'Sets the colorscale.'
350
+ 'Sets the colorscale and only has an effect' ,
351
+ 'if `marker.line.color` is set to a numerical array.' ,
352
+ 'The colorscale must be an array containing' ,
353
+ 'arrays mapping a normalized value to an' ,
354
+ 'rgb, rgba, hex, hsl, hsv, or named color string.' ,
355
+ 'At minimum, a mapping for the lowest (0) and highest (1)' ,
356
+ 'values are required. For example,' ,
357
+ '`[[0, \'rgb(0,0,255)\', [1, \'rgb(255,0,0)\']]`.' ,
358
+ 'To control the bounds of the colorscale in color space,' ,
359
+ 'use `marker.line.cmin` and `marker.line.cmax`.'
337
360
] . join ( ' ' )
338
361
} ,
339
362
cauto : {
@@ -352,7 +375,9 @@ module.exports = {
352
375
role : 'info' ,
353
376
description : [
354
377
'Has only an effect if `marker.line.color` is set to a numerical array.' ,
355
- 'Sets the upper bound of the color domain.'
378
+ 'Sets the upper bound of the color domain.' ,
379
+ 'Value should be associated to the `marker.line.color` array index,' ,
380
+ 'and if set, `marker.line.cmin` must be set as well.'
356
381
] . join ( ' ' )
357
382
} ,
358
383
cmin : {
@@ -361,7 +386,9 @@ module.exports = {
361
386
role : 'info' ,
362
387
description : [
363
388
'Has only an effect if `marker.line.color` is set to a numerical array.' ,
364
- 'Sets the lower bound of the color domain.'
389
+ 'Sets the lower bound of the color domain.' ,
390
+ 'Value should be associated to the `marker.line.color` array index,' ,
391
+ 'and if set, `marker.line.cmax` must be set as well.'
365
392
] . join ( ' ' )
366
393
} ,
367
394
autocolorscale : {
0 commit comments