So I have this gauge in an iOS app that has a linear gradient from left to right on on arc inside of it like this
That works well when I only need the gradient to stop in the middle, but when I want to shift the gradient back a little bit, as you can see, it bleeds the upper green part into to the lower part of the dial since it's only linear and those sections overlap.
My question is this:
Which kind of gradient should I use that would rotate colors around a circle?
I know it's not radial, because that would have the same color on the axis in which I am drawing it on.