Modified the graphwindow_data so that it now passes the window range in seconds to the graph