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

Line chart and Scatter chart problem #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the demo application selecting "Embedded line chart demo"
2. Enter the sequence (0,0) (50,50)(first two points just for example)
and then (90,70),(90,100),(90,200),(90,20)
3. First two points can be any random values,and then problem arises when two 
points in a series have same X Coordinate value.In this case the last value is 
only plotted

What is the expected output? What do you see instead?
Instead of multiple points,last point of series is shown

Please provide a source code snippet that we can use to replicate the issue.

What version of the product binary library are you using?
1.0.0

Please provide any additional information below.

Original issue reported on code.google.com by hari06...@gmail.com on 24 Aug 2012 at 11:19

GoogleCodeExporter commented 9 years ago
i have seen the same problem. I see that this problem is by use of hashmap with 
x axis as key.so it keeps overwriting points with same x coordinates. I think 
it's serious problem as it doesn't support basic plotting. 

Original comment by anand_...@yahoo.com on 4 Oct 2012 at 3:01

GoogleCodeExporter commented 9 years ago
Fixed in SVN.

Original comment by dandrome...@gmail.com on 8 Jan 2013 at 4:16

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This is still not ok. When zooming to this graph line connections change.

Original comment by rok.ostr...@gmail.com on 9 Jan 2013 at 10:49

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This actually happens because connections between points that are outside the 
screen and visible points are not displayed.

These were displayed before Android 3.0, but when they added hardware 
acceleration, rendering stuff that was outside the screen was crashing the 
application, so we had to change that.

Original comment by dandrome...@gmail.com on 10 Jan 2013 at 7:47

GoogleCodeExporter commented 9 years ago
Problem with the latest SVN version (rev 473) : when zooming in and panning to 
the left the lines and points are displayed left of the axis, also at the 
bottom.
with lib 1.0.0 the lines are cut at the axis.

Original comment by howie...@googlemail.com on 13 Jan 2013 at 10:41

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 13 Jan 2013 at 2:22

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 14 Jan 2013 at 3:24

GoogleCodeExporter commented 9 years ago
Thumbs Up!
It'S working ok

Original comment by howie...@googlemail.com on 14 Jan 2013 at 6:51

GoogleCodeExporter commented 9 years ago
Is it possible to show two or more point in same serie with same X coordinate 
using aChartEngine?

For example:
X=(1,1,1,2,3,4) and Y = (1,2,3,4,5,6) => (1,1),(1,2),(1,3),(2,4),(3,5),(4,6). 
Is it possible? I need to show only points, no line.

Original comment by ales....@gmail.com on 17 Jan 2013 at 6:11

GoogleCodeExporter commented 9 years ago
Questions on stackoverflow.com please.

Original comment by 4viewsoft@gmail.com on 18 Jan 2013 at 7:12