wangyao5 / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 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