For a scatter plot, is there a way to create the marker symbol with a gradient? Something like this:
https://forum.allegorithmic.com/index.php?action=dlattach;topic=512.0;attach=359;image
Yes: https://rreusser.github.io/plotly-mock-viewer/#bubblechart
Open up the console to see the corresponding data attributes.
Thank you, thatās a great resource!
Is there a way to control how fast the gradient shifts from one color to the other?
Not at the moment, marker gradients have two available settings:
Hi to all,
I just tried to add to my data object a gradient information but it doesnāt do anything.
I have the 1.35 version.
Whatās wrong ???
Thanks a lot for your help!
This is my data object:
data = {
x: x,
y: y,
z: z,
mode: āmarkersā,
opacity: 0.8,
marker: {
// size: settingsState.size,
size: size,
color: arrayColorFromGradient,
symbol: ācircleā,
},
gradient: {
type: āradialā,
color: '#fff ā
},
fill: ānoneā,
hoverlabel: {
bgcolor: arrayColorFromGradient
},
type: āscatter3dā,
};