Hi all,
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.