I am using the plot Interaction property set to YES to allow scrolling. Now it allows scrolling on the axes till infinity and also on the negative side of the axes . How can the scrolling be restricted only along the horizontal axis and also not extending upto infinity on the same axis.
You can use the globalYRange
to limit the zooming and scrolling along the y-axis. If you need more control, use a plot space delegate to monitor changes to the plot space and respond accordingly. There are several examples in the Plot Gallery example app.