That is not possible.
The only workaround, I would think, is to group your dataset to integers of your measurements. And then use that group as your color.
However, after that you would still need to manually add the gradient colors to each of the integers. There is no gradient option now.