sridharsaminathan / achartengine

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

ERROR:Sales growth Version 1.1.0 #376

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Firstly,run the source project named 'AChartEngine' in monitor under Android 
2.2, and then choose the item 'Sales growth',while moving the chart, the app 
crashed. Debug infos as following:

 FATAL EXCEPTION: main
 java.lang.IndexOutOfBoundsException
    at java.util.AbstractList.subList(AbstractList.java:738)
    at org.achartengine.chart.LineChart.drawSeries(LineChart.java:96)
    at org.achartengine.chart.XYChart.drawSeries(XYChart.java:540)
    at org.achartengine.chart.XYChart.draw(XYChart.java:320)
    at org.achartengine.GraphicalView.onDraw(GraphicalView.java:181)

Error code in line 96:  
fillPoints.addAll(points.subList(range[0] * 2, range[1] * 2));

Thank you and keep up the good work!

Original issue reported on code.google.com by forniav...@gmail.com on 3 Dec 2013 at 10:12

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 3 Dec 2013 at 6:31