minor code changes to 1d timeline graph