Reputation: 859
I'm working on achartengine (achartengine-1.0.0) in android app, it works fine with small data like <= 600, but when I draw points about 2000+ ( will use about 8000 or more), graph gets real slow!! even if user waits for delay but when touches it and moves the graph, graph takes quite long again!
How can I get rid of this slowness?
Thanks in advance
Upvotes: 3
Views: 1506
Reputation: 128
As Leco mentioned in the comments above, removing setLineWidth() or setting it to a lower value did improve the performance a lot.
Upvotes: 0
Reputation: 32391
The 1.1.0 version has a set of performance improvements included. You can download this version here.
Most of the time is spent on rendering, so this is where you can improve things:
mRenderer.setAntialiasing(false);
PointStyle
sOther suggestions:
Upvotes: 2