refactor graph history
graph on top of table