How to set panning within the range for the axes using Shinobi Charts for iOS?


I am using Shinobi chart and setting its panning & zooming functionality. I want to set panning to the range of my axes in the chart.  I dont want to pan outside the axes range. Here is what I have written in my code.

axis.allowPanningOutOfDefaultRange = YES;

axis.allowPanningOutOfMaxRange = NO;

Any idea how to set this issue?