In your code, you only bound the annotation to the axes but did not specify its exact position.
Add:
ta.annotation.AnchorX = 2; ta.annotation.AnchorY = 0.5;
AnchorX/Y: Gets or sets the X/Y coordinate to which the annotation is anchored.