首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 与iPhone和iPod quartz2d绘制图表

与iPhone和iPod quartz2d绘制图表

  • 资源大小:1.01 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: chart Graphs quartz2d EasyCode

资 源 简 介

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

文 件 列 表

ECGraphSample5-21
ecgraph
VIP VIP
0.170842s