Landscape chart view not showing


The chart loads fine in portrait and can rotate to landscape. But if the phone is pre-rotated before the chart loads, nothing is rendered…


I don’t think this is a shinobi charts problem but it looks like the code to create the view rectangle is buggy.


If it helps anyone:

if(UIInterfaceOrientationIsLandscape([[UIApplication sharedApplication] statusBarOrientation]))
        topOff = sbFrame.size.width;
        topOff = sbFrame.size.height;