Graph now displays data from the accelerometer