You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
have been exploring the project Plot_Gallery-iOS supplied with Core Plot release 1.5.1, specifically the RealTimePlot example. I tested the app in the simulators, both iPhone and iPad, also on the 64bit versions of these simulators. Then I ran the project on the iPhone, and everything went as expected. The problem occurred when I ran the project on an iPad Air. The first part of the real time plot works fine, but then, the range of the plot is not updated. The data is being updated, though, because the points are shifted, until the axes are left empty. I added an exception break point to the project, and it stops on NSParameterAssert(range) in the method setXRange: of the CPTXYPlotSpace.m:
Can you checkout the latest code from Github and give it a try? I merged the release-2.0 branch into master after the 1.5.1 release. This changed the animation code to use GCD instead of a timer. Please let me know if the new animation code still exhibits this problem.
Hi Eric, the new version does not exhibit the problem. The Real Time plot now behaves as expected both in iPad and iPhone, running iOS 7.1. Thanks a lot for solving this!
I'm running into the same issue, however updating to HEAD in my Podfile results in numerous ARC related issues.
Any other ideas on how to fix or work around this problem?
Yesterday, I was able to work around the ARC issues myself by adding -fobjc-arc to individual files' compiler flags. However, I stopped when I ran into the vDSP_Length issue. Did not realize both issues were already reported.
Using
pod 'CorePlot', :podspec => 'https://raw.githubusercontent.com/edwardaux/core-plot/master/CorePlot.podspec.json'
have been exploring the project Plot_Gallery-iOS supplied with Core Plot release 1.5.1, specifically the RealTimePlot example. I tested the app in the simulators, both iPhone and iPad, also on the 64bit versions of these simulators. Then I ran the project on the iPhone, and everything went as expected. The problem occurred when I ran the project on an iPad Air. The first part of the real time plot works fine, but then, the range of the plot is not updated. The data is being updated, though, because the points are shifted, until the axes are left empty. I added an exception break point to the project, and it stops on NSParameterAssert(range) in the method setXRange: of the CPTXYPlotSpace.m:
This is the stack trace before the exception:
The text was updated successfully, but these errors were encountered: