Reputation: 5634
I have upgraded from CorePlot 1.1 to CorePlot 1.4 and experience a issue with plotSpace:willChangePlotRangeTo
: Core Plot does not scale the y-axis correctly.
Do I have to change anything in my code? (My code worked perfectly before upgrading to CorePlot 1.4).
Could there be a bug in Core Plot?
My issue looks familiar to this issue reported here: Core Plot Issue 594
(I am using plotSpace:willChangePlotRangeTo
in my code, disabling this method helps)
Upvotes: 0
Views: 376
Reputation: 27381
CPTXYPlotSpace
changed in release 1.4. It now calls the -plotSpace:willChangePlotRangeTo:forCoordinate:
delegate method any time the x- or y-range changes, not just when scrolling or zooming. You will need to adjust the delegate to account for this, or simply set the delegate after doing the initial plot space setup.
Upvotes: 1