Landscape chart view not showing


#1

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…


#2

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


#3

If it helps anyone:

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