我收到* 由于未捕获的异常“NSRangeException”而终止应用程序,原因:“*
我没有得到确切的问题在哪里请帮助我
- (NSMutableArray*) arrayAtPointIndex:(NSInteger) index {
NSMutableArray * array = [[NSMutableArray alloc] init];
if ( series )
{
for (int plotIndex = 0; plotIndex <= [_points count]; plotIndex++) {
SALChartCoordinate * coord1 = [_points objectAtIndex:plotIndex];
CGFloat differ = abs( [[coord1.series objectAtIndex:index] floatValue] );
[array addObject:[NSNumber numberWithFloat:differ]];
}
}
if ( [array count] > 0 )
return [array autorelease];
[array release];
return nil;
}