ishan
ishan

Reputation: 301

CorePlot : Allow horizontal scrolling in positive quadrant only

I am working on an iOS application, in which i require to show a scatter plot, but i need to restrict the scrolling along x axis, that too only in positive quadrant.

I have the working graph. I am using core-plot 1.3.

Any help will be highly appreciated.

Regards, Ishan

Upvotes: 0

Views: 376

Answers (1)

Eric Skroch
Eric Skroch

Reputation: 27381

If you want the plot to stay within a defined range, use the globalXRange. If there is no upper bound, use a plot space delegate to monitor changes to the plot ranges and veto any changes that go outside the desired area.

Upvotes: 1

Related Questions