In general the filling is done by a QBrush and a brush can be defined by a linear gradient.
Now the problem is to make the gradient steps being related to the coordinate system of the plot ?

How is the situation in your case - I can imagine, that you need [0.0, 1.0] of the gradient being corresponding to [ curve->baseline() - delta, curve->baseline() + delta ] ?

Uwe