Is there a maximum limit of records that can be plotted by CorePlot? In my project, when the no of records returned cross a limit of 2000, app crashes due to memory warnings. But I need to plot a no around 24 x 300. Can any one help me?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Core Plot caches its data internally in a compact format (basically a c-style array). You can reduce the space required by setting the
cachePrecisionon each plot toCPTPlotCachePrecisionDouble. This forces it to use doubles for the cache (8 bytes for each data point) instead of possibly using NSDecimal (20 bytes each).When does your app crash? When loading the data into Core Plot? When drawing?