divyavamsee / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Alternative of CPLayerHostingView #379

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version 0.9 doesn't contain CPLayerHostingView of previous version.
My code is something like this -
    graph = [[[CPTXYGraph alloc] initWithFrame:CGRectZero] autorelease];
    CPTTheme *theme = [CPTTheme themeNamed:kCPTDarkGradientTheme];
    [graph applyTheme:theme];
    hostingView = (CPTLayerHostingView *)self.view;
    hostingView.hostedLayer = graph;

What alternatives are there that we can use?

Original issue reported on code.google.com by pathfind...@gmail.com on 10 Dec 2011 at 12:16

GoogleCodeExporter commented 9 years ago
CPTLayerHostingView was changed to CPTGraphHostingView and the hostedLayer 
property is now called hostedGraph.

http://code.google.com/p/core-plot/source/detail?r=7f50c413aa5106e54f37a227f03c3
4ba715669e5

Original comment by eskr...@mac.com on 10 Dec 2011 at 3:11