Graph not generating correctly

should have it fixed up tomorrow.