This is full android code for drawing line graphs with AchartEngine library