Changes scale for bar graph and fixes text issues for pie chart.