add switch between graph/table/summary