Disable scrolling in the chart of the main chart of the iPhone

I would like to disable scrolling in the main plot graph. I have an idea to limit the range of CPXYPlotSpace by setting the globalXrange and globalYRange properties, but this does not solve my goal, since I need to make an axis correction and not want to have a scroll effect on my chart. Previously, the version of the main plot used this function, but it seems that with the latest version the scroll was included in the CPGraphHostingView.

+3
source share
1 answer

It should be disabled by default. Make sure the property for allowsUserInteractionyour chart space is set to NO.

+5
source

All Articles