We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee66bb3 commit 00d8559Copy full SHA for 00d8559
src/components/colorscale/attributes.js
@@ -37,9 +37,13 @@ module.exports = {
37
description: [
38
'Sets the colorscale.',
39
'The colorscale must be an array containing',
40
- 'arrays mapping a normalized value to an rgb color. At minimum, a',
41
- 'mapping for the lowest (0) and highest (1) values are required.',
42
- 'For example, `[[0, \'rgb(0,0,255)\', [1, \'rgb(255,0,0)\']]`'
+ 'arrays mapping a normalized value to an',
+ 'rgb, rgba, hex, hsl, hsv, or named color string.',
+ 'At minimum, a mapping for the lowest (0) and highest (1)',
43
+ 'values are required. For example,',
44
+ '`[[0, \'rgb(0,0,255)\', [1, \'rgb(255,0,0)\']]`.',
45
+ 'To control the bounds of the colorscale in z space,',
46
+ 'use zmin and zmax'
47
].join(' ')
48
},
49
autocolorscale: {
src/traces/scatter/attributes.js
@@ -246,11 +246,15 @@ module.exports = {
246
valType: 'colorscale',
247
role: 'style',
248
249
- 'Has only an effect if `marker.color` is set to a numerical array.',
250
- 'Sets the colorscale. The colorscale must be an array containing',
251
252
253
+ 'Sets the colorscale.',
+ 'The colorscale must be an array containing',
254
255
256
+ 'To control the bounds of the colorscale in color space,',
257
+ 'use cmin and cmax'
258
259
260
cauto: {
0 commit comments