piaoyongren / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

not able to increase the size of view #222

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
plz see the attached image i am showing multi y -asix bars ,but if number of 
values is more ,i want that screen size will be increases and user is able to 
see bars with the help of scroller,i tried it by setting this line 

newView = [[CPLayerHostingView alloc]initWithFrame:[[UIScreen mainScreen] 
applicationFrame]];

TO:
newView = [[CPLayerHostingView alloc]initWithFrame:CGRectMake(0, 0, 480, 470)];
self.view = newView;
but nothing happen.

Original issue reported on code.google.com by monikadh...@gmail.com on 11 Nov 2010 at 8:47

Attachments:

GoogleCodeExporter commented 8 years ago
You need to put your CPLayerHostingView inside a UIScrollView if you want it to 
scroll like that.

This is not a Core Plot issue.

Original comment by eskr...@mac.com on 11 Nov 2010 at 10:43

GoogleCodeExporter commented 8 years ago
i am tryied to add CPLayerHostingView  inside UIScrollView but it crashed the 
app.
shows unrecognised selector sent to instance. 

Original comment by monikadh...@gmail.com on 16 Nov 2010 at 9:19