I'm drawing a bar graph where my labels are quite long along the X axis. To sort this out I want to rotate the labels by 20 degrees, pointing down left to right.
I started by getting the X and Y in the right position so the text was in the right position unrotated however when I added the rotate command the text ended up in the wrong position (significantly). The whole text moved off to the left and down.
Is there anyway to lock the point of rotation to the left of the text? I tried using text align but that had no effect.
Is there anyway to adjust the z-position of an element you have drawn? I have an item which is drawn early in the loop but I would like to bring it to the front. I dont want to adjust the order that the items are drawn in as there are future elements that are dependent on the interactions with this one.... what im looking for it a "bring to front" command of some sort.