For some odd reason, in a bar column chart, the Y axis label didn't center properly. To compensate for that, I used the following code in the old version:
CGRect frame = chart.yAxis.titleLabel.frame;
frame.origin.y = 16 + chart.legend.frame.size.height;
frame.size.height = chart.frame.size.height - (chart.frame.size.height - chart.xAxis.axisFrame.size.height) - frame.origin.y;
chart.yAxis.titleLabel.frame = frame;
If I try to adjust the frame before it is rendered, my changes are lost. Unfortunately, in the latest version of ShinobiCharts, the above code causes sChartRenderFinished to be called again, which ends up in an endless loop. A check of the values also shows that they aren't retained.
How can I get the title centered? It currently ends up too high vertically (and yes, I set
yAxis.style.titleStyle.position = SChartTitlePositionCenter;)?