Rotating TickMark Labels


#1

I want to rotate tickmark labels to look something like this:

I tried using alterTickMark:beforeAddingToAxis: then tickMark.tickLabel.transform = CGAffineTransformMakeRotation(-M_PI / 2) but that doesn’t seem to work.

Is it possible to rotate the tickmark labels of the X Axis?


#2

Something like:

chart.xAxis.style.majorTickStyle.tickLabelOrientation = TickLabelOrientationVertical;

See: http://www.shinobicontrols.com/docs/ShinobiControls/ShinobiCharts/2.7.0/Premium/Normal/html/Classes/SChartTickStyle.html#//api/name/tickLabelOrientation


#3

925dk

Something like:

chart.xAxis.style.majorTickStyle.tickLabelOrientation = TickLabelOrientationVertical;

See: http://www.shinobicontrols.com/docs/ShinobiControls/ShinobiCharts/2.7.0/Premium/Normal/html/Classes/SChartTickStyle.html#//api/name/tickLabelOrientation

Works like a charm! Thank you!