Added graph data and ability to clear data.