Reset graph data on each update.