I currently have a column chart with a Category X axis.
I have set: chart.xAxis.style.majorTickStyle.tickLabelOrientation = TickLabelOrientationDiagonal;
However I notice that the anchor point for each of the labels in about the center of the label, as shown below:
However when I have different text label lengths, this does not quite look right. I want the end of the label to be directly aligned and just below the tick mark, as is common with diagonal label charts, so it is easy to see which label the mark relates to.
In the alterTickMark method I am able to alter: tickMark.tickLabel.layer.anchorPoint = CGPointMake(1, 0);
But then trying to reposition/translate the label has no effect.
Any help would be greatly appreciated. Thanks!