radial gradient in Q3DScatter
-
How to make radial gradient in Q3DScatter or in Scatter3D?
-
How to make radial gradient in Q3DScatter or in Scatter3D?
You mean something like this:

Unfortunately,
Q3DScatterapplies the same color to all points in the series. So the idiotic approach I tried is to create a new series for each point, and set its color manually...For the example shown above, I used the cosine wave computation code from the Qt example:
https://doc.qt.io/qt-5/qtdatavisualization-scatter-example.htmlAnd used the
gpJetgradient color array generated byQCustomPlot.
https://www.qcustomplot.com/documentation/classQCPColorGradient.html
It's very easy to extract the code from there.Not really efficient all this (and slow...), but maybe it can help you out. Hopefully, someone will come up with a better solution.