I would like to achieve gradient effect like in the attached image.
I have tried to alter lineGradient
of the CPTMutableLineStyle
of the object. But couldn't reach to the same effect.
How would you do it?
Try the lineFill
property of the line style instead. You can use a gradient or an image to provide the fill pattern.