Skip to content

Commit c1fbede

Browse files
committed
gives colors a sequance
1 parent dbeb780 commit c1fbede

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/base/src/dialogs/symbology/colorRampUtils.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ const { __license__: _, ...cmocean } = rawCmocean;
1111
Object.assign(colorScale, cmocean);
1212

1313
export const COLOR_RAMP_DEFINITIONS = {
14+
// 'rainbow-soft': {type: 'Cyclic'}, 11 steps min
15+
// 'hsv': {type: 'Cyclic'}, 11 steps min
16+
phase: { type: 'Cyclic' },
1417
jet: { type: 'Sequential' },
15-
// 'hsv': {type: 'Sequential'}, 11 steps min
1618
hot: { type: 'Sequential' },
1719
cool: { type: 'Sequential' },
1820
spring: { type: 'Sequential' },
@@ -27,7 +29,6 @@ export const COLOR_RAMP_DEFINITIONS = {
2729
YiOrRd: { type: 'Sequential' },
2830
bluered: { type: 'Sequential' },
2931
RdBu: { type: 'Sequential' },
30-
// 'picnic': {type: 'Sequential'}, 11 steps min
3132
rainbow: { type: 'Sequential' },
3233
portland: { type: 'Sequential' },
3334
blackbody: { type: 'Sequential' },
@@ -38,7 +39,6 @@ export const COLOR_RAMP_DEFINITIONS = {
3839
magma: { type: 'Sequential' },
3940
plasma: { type: 'Sequential' },
4041
warm: { type: 'Sequential' },
41-
// 'rainbow-soft': {type: 'Sequential'}, 11 steps min
4242
bathymetry: { type: 'Sequential' },
4343
cdom: { type: 'Sequential' },
4444
chlorophyll: { type: 'Sequential' },
@@ -47,7 +47,6 @@ export const COLOR_RAMP_DEFINITIONS = {
4747
'freesurface-red': { type: 'Sequential' },
4848
oxygen: { type: 'Sequential' },
4949
par: { type: 'Sequential' },
50-
phase: { type: 'Cyclic' },
5150
salinity: { type: 'Sequential' },
5251
temperature: { type: 'Sequential' },
5352
turbidity: { type: 'Sequential' },
@@ -61,6 +60,7 @@ export const COLOR_RAMP_DEFINITIONS = {
6160
tempo: { type: 'Sequential' },
6261
rain: { type: 'Sequential' },
6362
topo: { type: 'Sequential' },
63+
// 'picnic': {type: 'Divergent', criticalValue: 0.5 }, 11 steps min
6464
balance: { type: 'Divergent', criticalValue: 0.5 },
6565
delta: { type: 'Divergent', criticalValue: 0.5 },
6666
curl: { type: 'Divergent', criticalValue: 0.5 },

0 commit comments

Comments
 (0)