Updating min value for the chart