In my project, I am using a bar chart. On the first load of the chart, the last label gets cut off as shown below:
When I rotate the device, the label appears and is functioning as expected:
I call the following code upon setting up the chart for the first time:
chart.clipsToBounds = NO; chart.xAxis.tickLabelClippingModeHigh = SChartTickLabelClippingModeTicksAndLabelsPersist;
No matter what I try, I cannot get the chart label to appear on the first load. The above code is being called immediatly before the chart subview is being added to the main view. Is this a known bug?