On iPad Rotation


Hello ,


I’m using Piechart and when i make rotation i change the chart frame but when rotate the device many times in few seconds the chart take along time to know its new frame based on the last orientation 


i want any fix or optimization.


thx :slight_smile:


I am not a shinobi expert but I would try to call [pichart redrawChartAndGL:YES] in the function that you use to change the frame…


Sounds like your data source is slow. I have had no trouble resizing the chart frame for rotation. If you change the frame continuously though, I often hit 5-10 fps.

Have you investigated the bottleneck in Time Profiler in XCode?