I am new to the iPhone development can anybody help me to draw curve chart in iPhone using only three values
-(NSUInteger)numberOfRecordsForPlot:(CPPlot *)plot {
Replace the following code:
-(NSUInteger)numberOfRecordsForPlot:(CPPlot *)plot{ NSLog(@"Array1-->%@",Array1); return [Array1 count]; //return 50; }
with the following one:
-(NSUInteger)numberOfRecordsForPlot:(CPPlot *)plot{ NSLog(@"Array1-->%@",Array1); return 3; }
Hope this helps!