Closed GoogleCodeExporter closed 9 years ago
How are you sending the graph to the TV Out? You should not just put the graph
layer in a standard UIView. Instead, use the CPGraphHostingView, or make it a
subview of the view you are using for TV Out. It does some transforms which may
explain the issues you are seeing.
Drew
Original comment by drewmcco...@mac.com
on 15 Mar 2011 at 4:40
I'm trying to us TVOutManager (http://www.touchcentric.com/blog/archives/123 )
for TVOut with CorePlot ( be it custom app, or the CorePlot's Plot_Gallery )
The issue I'm hawing, is that the image flipped upside down ( though the
toolbar is in proper position, which is even more confusing ). Seems like the
same problem as the original poster
Any suggestions are welcome. Thanks.
Original comment by fla...@gmail.com
on 29 Jun 2011 at 7:21
Is your UIView typed as CPTGraphHostingView? It must be, because it does a flip
transform.
Drew
Original comment by drewmcco...@mac.com
on 29 Jun 2011 at 8:30
If you are using a CPTGraphHostingView, you might try reseting the sublayer
transform. Something like this:
hostingView.layer.sublayerTransform = CATransform3DIdentity;
Original comment by eskr...@mac.com
on 30 Jun 2011 at 12:53
Yes, The CPGraphHostingView is being used ( is there other view that could be
used ? )
using hostingView.layer.sublayerTransform = CATransform3DIdentity did following:
TV out didn't change; the same upside down image could be seen even on ipad :))
hostingView.collapsesLayers = YES;
did the trick for me; on iPad, as well on TV out, expected images finally came
out.
Original comment by fla...@gmail.com
on 2 Jul 2011 at 5:11
See comment #5 for the suggested fix.
Original comment by eskr...@mac.com
on 8 Jul 2011 at 2:23
Original issue reported on code.google.com by
hrishike...@gmail.com
on 15 Mar 2011 at 2:17Attachments: