graphs works when continous data stream