dynamicaly set the max y value in the statistic page graphs.