You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to render two surfaces, but I don't see any option to change the color of second surface, as we have only one option to set coloraxis and the other surface is also utilizing the same coloraxis, so do we have any way to change the color of the other surface.
Hello, glad you like it.
Unfortunately I didn't have simultaneous surfaces in mind when I built it, so I don't have any good answer.
Also I won't have the time for a proper solution right now, but if you are not in a worry I should be able to work on it in the next 1-2 months. Or you can send me a pull request :)
In the mean time, I can think of a few terrible hacks:
One thing you should be able to do is having 2 distinct series, each one associated with a distinct coloraxis (I haven't tried that, but should be possible to do it the same way highchairs allows multiple X/Y axes on a chart). Unfortunately you'll probably have z-order issues (serie #2 will always be over serie #1, despite of 3d shape).
Another hack would be to embbed 2 distinct gradients into your coloraxis -- e.g. [0..0.5] can be a blue-ish gradient and [0.5..1] a red-ish gradient. Then you can keep the min/max fixed and manually calculate the associated value for each vertex.
Hi,
I am able to render two surfaces, but I don't see any option to change the color of second surface, as we have only one option to set coloraxis and the other surface is also utilizing the same coloraxis, so do we have any way to change the color of the other surface.
https://ibb.co/g0hqiJ
Regards,
Kundan
The text was updated successfully, but these errors were encountered: