Included logic for fixing the graph y-scale.