In order to make the y-axis display from 0, the best approach is probably to implement one of the chart delegate methods. If you implement the sChartDidFinishLoadingData: method, as below, you will set the correct range on the chart once it has loaded its data:
- (void)sChartDidFinishLoadingData:(ShinobiChart *)chart {
[chart.yAxis setRangeWithMinimum:@0 andMaximum:chart.yAxis.axisRange.maximum];
}
One case where this approach could fall down is if you have set double taps on the chart to reset the zoom. In that case, the chart will reset its zoom to cover just the data range. If this is the case for you, let me know, and we can look at the best approach to take in this case.
We're just looking at the axis padding issue now.
Many thanks,
Dan