I have been trying to move the labels here to go from the left position to the right one as in this image:
I want it to go from left to right. here is my code: