I have 390 points on my plot. The Frame rate is < 20 fps during pinch-zoom with both the scatter and bar plot. However if I only have a scatter plot on screen, i get ~50fps. When i used instruments, the main bottleneck seems to the -[CPTBarPlot renderAsVectorInContext:] which has a run time of more than 50% where as scatter plot is <20%. Even when i plotted only the bar plot on screen, I cldn't get more than 20fps (but i still need to test it) . Is this the std performance of a bar plot? How can i improve this? I have already set the cache precision to be double.
I'll appreciate if someone can help me here.
Thanks.