ibrahimsaputra / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

Flickering while panning #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have the problem that my chart flickers while i am panning it. This occus 
when i set the panlimits to the minimum an maximum value of my data set.

You can reproduce it if you change one line in your demo code:

In the File AverageTemperatureChart
Change
renderer.setPanLimits(new double[] { -10, 20, -10, 40 });
to
renderer.setPanLimits(new double[] { 1, 12, -10, 40 });

Now when you pan the chart, it flickers. I want that my chart fills the 
available space and cannot be panned outside the range of my dataset.

I hope it is clear what i mean? I use the latest version from your repository.

Thanks
Harald

Original issue reported on code.google.com by harald.k...@gmail.com on 26 Jul 2011 at 7:26

GoogleCodeExporter commented 9 years ago
This used to be an issue a very long time ago. Are you sure you are testing 
with the latest version in SVN?
What device are you testing on? I cannot see any flickering.

Original comment by dandrome...@gmail.com on 26 Jul 2011 at 3:09

GoogleCodeExporter commented 9 years ago
OK, I managed to replicate this too.
I will fix it today.

Original comment by dandrome...@gmail.com on 26 Jul 2011 at 3:20

GoogleCodeExporter commented 9 years ago
Hello,

I just deleted my demo folder and checked out the newest version. then i made 
the change as mentioned above in AverageTemperatureChart and it still flickers 
when i move my finger from right to left.

my device it a HTC Sensation.

Original comment by harald.k...@gmail.com on 26 Jul 2011 at 3:21

GoogleCodeExporter commented 9 years ago
Fixed in SVN.

Original comment by dandrome...@gmail.com on 26 Jul 2011 at 3:39

GoogleCodeExporter commented 9 years ago
Thank you!

Original comment by harald.k...@gmail.com on 26 Jul 2011 at 4:08