add new function (reset max and min of axis Y of bargraph)