草庐IT

barGraphPlotSpace

全部标签

iphone - 将第二个绘图空间/轴添加到核心图中

这是我的代码:CPTXYPlotSpace*barGraphPlotSpace=[[CPTXYPlotSpacealloc]init];barGraphPlotSpace.yRange=[CPTPlotRangeplotRangeWithLocation:CPTDecimalFromFloat(0.0)length:CPDecimalFromFloat(100.0)];CPTXYAxis*rightY=[[CPTXYAxisalloc]init];rightY.coordinate=CPTCoordinateY;rightY.orthogonalCoordinateDecimal=CP