IOS CorePlot Disable Vertical Scrolling


/ Published in: iPhone
Save to your folder(s)



Copy this code and paste it in your HTML
  1. CPXYPlotSpace *plotSpace = (CPXYPlotSpace *)graph.defaultPlotSpace;
  2. plotSpace.yRange = [CPPlotRange plotRangeWithLocation:CPDecimalFromFloat(0) length:CPDecimalFromFloat(MAX_RATING)];
  3. plotSpace.globalYRange = plotSpace.yRange;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.