The point in the diagram where all of the energy is gravitational potential energy is when the swing is pulled back prior to release. At this point, the swing is at its highest position, and all of the energy is stored as gravitational potential energy.
So the correct response is: when the swing is pulled back prior to release.