I have already tried the custom ‘colorscale’ property with the given color scales :-
colorscale : [
[‘0’, ‘rgb(255,0,0)’]
[‘1.0’, ‘rgb(0,255,0)’]
]
The colors just refuse to change
Also, I have based the color scale on x-axis with the following attribute:
surfacecolor: xArray[0]
Here xArray contains value for x-axis which is a 1D array of values spanning from 500.00 to 7000.00 in steps of 250.
Still nothing changes!! Please see pic below,