CorePlot - Set y-Axis range to include all data points
- by zdestiny
I have implemented a CorePlot graph in my iOS application, however I am unable to dynamically size the y-Axis based on the data points in the set. Some datasets range from 10-50, while others would range from 400-500. In both cases, I would like to have y-origin (0) visible.
I have tried using the scaletofitplots method:
[graph.defaultPlotSpace…