updated graph activity to correctly incorporate settings values