Take the 2-minute tour ×  I am using core-plot library to draw a
bar-chart on my iPhone application and the problem arises when I
try to add a label or some other views to the graph,  Actually
the view I added is drawn vertically invert like this ........
The code is like  UILabel *lbl= [[UILabel alloc]
initWithFrame:CGRectMake(250, 90, 70, 25)];     [lbl
setBackgroundColor:[UIColor redColor]];     [lbl
setText:@"HELLO"];     [self.view addSubview:lbl];     [lbl
release];  I am not daring to play with core-plot library.  So
is there any other way to do the things right? should I do a
transform before adding the views?  If this is the solution then
this will be costly because I have to add more than one subview.
Hoping my question is clear to everybody.  share|improve this
question add comment  2 Answers  up vote 7 down vote accepted
Well, it looks like the core-plot view is inverted using a
CGAffineTransform. Your view is probably inheriting the
inversion from its superview. It's actually quite simple to d