Photoshop question

From: Jennifer
Remote Name:


I have been assigned to create a spiral graph for a presentation. How do I get the gradient tool in Photoshop to start at the beginning of the spiral with the color yellow, then red, then ending with blue? I know how to use the gradient tool just not sure how to make the gradient follow a path. Thank you for your time.