paragp / achartengine

AChartEngine is a charting library for Android applications. It currently supports the following chart types: line chart area chart scatter chart time chart bar chart pie chart bubble chart doughnut chart range (high-low) bar chart dial chart / gauge combined (any combination of line, cubic line, scatter, bar, range bar, bubble) chart cubic line chart All the above supported chart types can contain multiple series, can be displayed with the X axis horizontally (default) or vertically and support many other custom features. The charts can be built as a view that can be added to a view group or as an intent, such as it can be used to start an activity. The model and the graphing code is well optimized such as it can handle and display huge number of values. AChartEngine is currently at the 1.0.0 release. New chart types will be added in the following releases. Please keep sending your feedback such as we can continually improve this library. Find us on Facebook, too: http://www.facebook.com/achartengine Read a short introduction to AChartEngine here: http://www.javaadvent.com/2012/12/achartengine-charting-library-for.html Another good tutorial can be read here: http://jaxenter.com/effort-free-graphs-on-android-with-achartengine-46199.html
0 stars 1 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