资 源 简 介
This is a class which can help you draw charts on iPhone & iPod easily,support date format data on x-axis,set chart frame,position and different point type.
You can draw a curve chart like that
```
CGContextRef _context = UIGraphicsGetCurrentContext();
ECGraph *graph = [[ECGraph alloc] initWithFrame:CGRectMake(10,10, 480, 320)
withContext:_context isPortrait:NO];
ECGraphPoint *point1 = [[ECGraphPoint alloc] init];
point1.yValue = 3;
point1.xDateValue = [ECCommon dOfS:@"2010-4-23 12:00:00"
withFormat:kDEFAULT_DATE_TIME_FORMAT];
ECGraphPoint *point2 = [[ECGraphPoint alloc] init];
point2.yValue = 5;
point2.xDateValue = [ECCommon dOfS:@"2010-4-25 12:00:00"
withFormat:kDEFAULT_DATE_TIME_FORMAT];
ECGraphPoint *point3 = [[ECGraphPoint alloc] init];
point3.yValue = 3;
point3.xDateValue = [ECCommon dOfS:@"2010