mostly implemented full page graphing