Background Gridlines on iOS


#1

I would like to use a light grey background for my plot area and only show the grid lines for both my Column and Bar Charts. I tried the following for Column Chart:

yAxis.style.gridStripeStyle.stripeColor = RGBColor(244, 244, 244);        
yAxis.style.gridStripeStyle.alternateStripeColor = RGBColor(244, 244, 244);       
yAxis.style.majorGridLineStyle.lineWidth = @1;
yAxis.style.majorGridLineStyle.showMajorGridLines = YES;
yAxis.style.majorGridLineStyle.lineColor = [UIColorblueColor];

I am not seeing the major grid line for the Y Axis.

I also tried to do the same for my X Axis for my Bar Charts, no luck.

Am I missing something?

Thanks!