Set correct scale for chart.