updateChartRanges

Updates chartRanges in accordance with model.