Only draw graph when there is new data