Unable to show anything on x-axis and y-axis labels in core-plot?

Define some custom labels for the data elements yy. LabelingPolicy = CPAxisLabelingPolicyNone.

CPXYAxis *yy = axisSet. YAxis; yy.axisLineStyle. LineColor=CPColor whiteColor; yy.

MajorTickLineStyle = nil; yy. MinorTickLineStyle = nil; yy. Title = @"Y Axis"; yy.

TitleLocation = CPDecimalFromFloat(100.0f); yy. TitleOffset = 245.0f; // Define some custom labels for the data elements yy. LabelingPolicy = CPAxisLabelingPolicyNone; NSArray *customTickLocations1 = NSArray arrayWithObjects:NSDecimalNumber numberWithInt:0, NSDecimalNumber numberWithInt:10,NSDecimalNumber numberWithInt:20, NSDecimalNumber numberWithInt:30, nil; NSArray *yAxisLabels = NSArray arrayWithObjects:@"a",@"b", @"c",nil; NSUInteger labelLocation1 = 0; NSMutableArray *customLabels1 = NSMutableArray arrayWithCapacity:yAxisLabels count; for (NSNumber *tickLocation1 in customTickLocations1) { CPAxisLabel *newLabel1 = CPAxisLabel alloc initWithText: yAxisLabels objectAtIndex:labelLocation1++ textStyle:yy.

LabelTextStyle; newLabel1. TickLocation = tickLocation1 decimalValue; newLabel1. Offset = yy.

LabelOffset + yy. MajorTickLength; customLabels1 addObject:newLabel1; newLabel1 release; } yy. AxisLabels = NSSet setWithArray:customLabels1.

Tried your code but it doesn't work. – Rahul Vyas Mar 31 at 14:25 what is the error/output you are getting! – ravoorinandan Apr 5 at 7:15 I've already posted image in my post.

I am getting all the things except axis labels. I've tried to put sample app of core plot's code as it is in my app, but no luck in getting title labels. See images in my post you will understand what I meant to say – Rahul Vyas Apr 7 at 3:15.

I have resolved my problem. All I have to do is start adding core-plot from beginning. I removed core-plot from my project again add voila!

It's working.

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.

Related Questions