sandy
sandy

Reputation: 2157

Disable scrolling in core-plot graph iPhone

I would like to disable scrolling in core-plot graph. I have an idea about constricting the CPXYPlotSpace range by setting the properties globalXrange and globalYRange, but this doesn't solve my purpose as I need to make the axis fix and do not want to have scrolling effect on my graph. Earlier version of core-plot used to have this functionality but it seems that with latest version scrolling has been enabled in CPGraphHostingView.

Upvotes: 3

Views: 916

Answers (1)

Eric Skroch
Eric Skroch

Reputation: 27381

It should be disabled by default. Make sure the allowsUserInteraction property of your plot space is set to NO.

Upvotes: 5

Related Questions