if you want to know how achartengine work then add the achartengine 0.7.0 jar to libs folder and link it with your project also have these below activity.
public class GeneratedChartDemo extends ListActivity {
private static final int SERIES_NR = 2;
private String[] mMenuText;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// I know, I know, this should go into strings.xml and accessed using
// getString(R.string....)
mMenuText = new String[] { "Line chart", "Scatter chart", "Time chart", "Bar chart" };
setListAdapter(new SimpleAdapter(this, getListValues(), android.R.layout.simple_list_item_1,
new String[] { "name"}, new int[] { android.R.id.text1 }));
}
private List