2015年6月24日
摘要: //坐标轴的初始化 -(void)axesInit { // Setup plot space: 设置一屏内可显示的x,y量度范围 CPTXYPlotSpace *plotSpace = (CPTXYPlotSpace *)[xyGra... 阅读全文
posted @ 2015-06-24 14:55 timo00 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 首先要引用委托方法:CPTScatterPlotDelegate、CPTPlotSpaceDelegate完成如下:#pragma mark - #pragma mark CPTPlotSpaceDelegate methods -(BOOL)plotSpace:(CPTPlotSpace *)... 阅读全文
posted @ 2015-06-24 14:52 timo00 阅读(318) 评论(0) 推荐(0) 编辑
摘要: corePlot 使用技巧://设置内边距:graph.plotAreaFrame.paddingLeft +=5;graph.plotAreaFrame.paddingTop +=5;graph.plotAreaFrame.paddingRight +=5;graph.plotArea... 阅读全文
posted @ 2015-06-24 13:41 timo00 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 设置corePlot可拖动:plotSpace.allowsUserInteraction = YES; 设置x显示的范围:plotSpace.xRange = [CPTPlotRange plotRangeWithLocation:CPTDecimalFromInt(8 * oneDay)len... 阅读全文
posted @ 2015-06-24 11:48 timo00 阅读(232) 评论(0) 推荐(0) 编辑
摘要: core plot 阅读全文
posted @ 2015-06-24 11:34 timo00 阅读(231) 评论(0) 推荐(0) 编辑