iPhone Development: Core-Plot performance slow when handling a huge data.
I tried to put 500 Data into Plot. The performance show that it is really slow.
And
Be aware of the size of the plot area. If you have more data points than pixels, filter the data set as @benzado suggested.
Use graphical elements that are fast to draw--opaque colors, no gradients, no images, no shadows. If the bars are only going to be a few pixels wide, don't set both the fill and border line; use whichever one draws faster.
Reduce or eliminate extraneous elements like minor tick marks and grid lines.
Use one of the datasource methods that provide a group of points in one call rather than one at a time.
-(NSArray *)numbersForPlot:(CPTPlot *)plot field:(NSUInteger)fieldEnum recordIndexRange:(NSRange)indexRange;
-(double *)doublesForPlot:(CPTPlot *)plot field:(NSUInteger)fieldEnum recordIndexRange:(NSRange)indexRange;
-(CPTNumericData *)dataForPlot:(CPTPlot *)plot field:(NSUInteger)fieldEnum recordIndexRange:(NSRange)indexRange;
We did some speed comparisons of iOS Charts and one of them was Core-plot. Unfortunately Core-plot was so slow it could not do the first test!!
There were other chart components which were able to handle big data much more efficiently.
The test results and test setup are here: https://www.scichart.com/ios-chart-performance-comparison
In table format the results of a comparison between four main chart iOS providers can be found here.
Disclosure, I am the tech lead of the SciChart project
Plot a sample of your data! Don't plot all 500 data points if you don't actually need to draw them all.