Set tittle of chart


#1

Hello Everyone,

I am unable to set position of chart tittle. So please help me about this.

Thanks

Ram


#2

Hi satvikios,

Due to certain theme styles being applied you have to set the following properties to make your title appear:

chart.titleLabel.hidden = NO;
chart.title = @"HELLO WORLD";
chart.titleLabel.textColor = [UIColor blackColor];

Let me know if you have any issue.

Kind Regards,
Andrew Polkinghorn