shannah / CN1aChartEngine

A port of Android aChartEngine Library for Codename One
7 stars 6 forks source link

New pipeline performance #9

Open Munken opened 9 years ago

Munken commented 9 years ago

Hey Steve

So I just got our app adapted to working with the new pipeline. In our app we have two charts on the same page in a tab layout. img_0575

However when one swipe to the next tab the animation appears "jumpy" on a iPhone 5/6. Previously we were able cache the rendered charts as a Image which we could cache. However as I understand it this is not possible with the new pipeline ?

shannah commented 9 years ago

This is high on my list of things to work out. I don't have a direct solution for you right now, but the new pipeline will be enhanced soon (don't have exact ETA) to allow drawing shapes and transforms on mutable images. When this happens you'll be able to cache the charts like you could with pisces. In addition I am working with the new pipeline and charts API daily to improve performance. If you can post a test case that demonstrates the problem, it may help me to fix this sooner than later for your situation.

Also, I recommend you try to move to the new CN1 charts API (in the CN1 core) which is based on this library, but have been modified to fit into the CN1 API better.

Munken commented 9 years ago

The simple test case is that dragging/animating a chart looks jumpy.

I assume that you development effort will be directed towards the core chart library ?

shannah commented 9 years ago

That's not a test case. I mean code. There are many different chart types. A test case would be some code I can compile to see the issue. On Mar 15, 2015 4:48 AM, "Munken" notifications@github.com wrote:

The simple test case is that dragging/animating a chart looks jumpy.

I assume that you development effort will be directed towards the core chart library ?

— Reply to this email directly or view it on GitHub https://github.com/shannah/CN1aChartEngine/issues/9#issuecomment-80982720 .