Optimiezed implementation of increasing value showing on graph.