Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
radial gradient in Q3DScatter
maria ivanovna last edited by
How to make radial gradient in Q3DScatter or in Scatter3D?
Diracsbracket last edited by Diracsbracket
You mean something like this:
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:
And used the
gpJetgradient color array generated by
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.