update graph scalling
graph scale2