0

如何确保用户可以减少计划直到完全显示?以及如何使最大缩放 3 倍?如何使用户无法移动情节allowsUserInteraction = YES

4

1 回答 1

1

plotSpace.globalXRange = [CPTPlotRange plotRangeWithLocation:CPTDecimalFromInt(-1) length:CPTDecimalFromInt(30)]; plotSpace.xRange = [CPTPlotRange plotRangeWithLocation:CPTDecimalFromInt(-1)length:CPTDecimalFromInt(25)]; plotSpace.globalYRange = [CPTPlotRange plotRangeWithLocation:CPTDecimalFromInt(0) length:CPTDecimalFromInt(70)]; plotSpace.yRange = [CPTPlotRange plotRangeWithLocation:CPTDecimalFromInt(0)length:CPTDecimalFromInt(70)];

现在它工作正常)

于 2013-06-10T18:12:40.103 回答