Up vote 0 down vote favorite 1 share g+ share fb share tw.
I have subclass of UIView on which ECGraph is drawn. If the size of the Graph increases, it gets compressed to size of screen. (320 * 480).
Now I need to add that ECGraph to UIScrollView so that my graph will displayed properly. I had used below lines to draw the graph. For(int I = 0; I IsPercentage = YES; float yvalue = (someArray objectAtIndex:i floatValue * 100)/totalSales; item1.
YValue = yvalue; item1. Width = 20; item1. Name = deptArr objectAtIndex:i; graphItems addObject:item1; } ECGraph *graph = ECGraph alloc initWithFrame: CGRectMake(20,0, items count*150, 300) withContext:_context isPortrait:NO; graph setDelegate:self; graph setBackgroundColor: UIColor colorWithRed:220/255.0 green:220/255.0 blue:220/255.0 alpha:1; graph drawHistogramWithItems:items lineWidth:2 color:UIColor blackColor; So, How do I add it to UIScrollView?
Cocoa-touch uiview uiscrollview uikit link|improve this question edited Sep 9 '11 at 22:24Peter Hosey53.4k445137 asked Sep 9 '11 at 13:31Surjit Joshi653210 89% accept rate.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.