Linuxkey007 / achartengine

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

Maybe a bug... #249

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add only one single point in a line chart
2. setDisplayChartValue(true);

What is the expected output? What do you see instead?
chart value should be display on the point, but actually nothing showed.

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

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

Please provide any additional information below.
XYChart.java line 531:
if (points.length > 1) { // there are more than one point

should it be points.length > 2 instead? I'm not sure if it should be or not, 
but at least it works on my side.

Original issue reported on code.google.com by weiso...@gmail.com on 29 Sep 2012 at 3:11

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 8 Jan 2013 at 1:27