Is there a way to rotate each row in a row by 25 Degrees,
in Illustrator or Photoshop,
as seen on the following picture?
I'd do this in Illustrator, because it's a lot easier than Photoshop for this particular task, especially if you want to maintain full edibility and easy control over font, leading and be able to paste text in for all labels.
Step 1 — Draw a text box.
Draw a text box, paste your text in, set a vague font, size and leading, and right align your text.
Step 2 — Rotate as needed.
This doesn't need to be perfect, as you can edit later if needed.
Step 3 — Edit shape.
Edit the shape so it contains a flat edge at the top, using the Direct Selection Tool (which lets you edit single points, rather than the entire shape).
The result can be pasted in to Photoshop as a Smart Object, if you'd like.
In Photoshop, simply select all the text layers you want to rotate then go to Edit > Transform > Rotate (or
Similarly, in illustrator select your text and go to object > transform > rotate or use the transform panel located in the top bar.
In Illustrator, simply select the text object and enter your rotation degree on the Transform panel or the Control Bar across the top of the screen.
Illustrator: Select all of the text to rotate, right click > transform > transform each > Rotate as desired.
Alternate method: change all text to right justify, select all text and rotate to desired angle, open pathfinder, click align tab, align to top button (assuming you want to align it underneath the graph as pictured above)