Changed some variable names to make them unique and changed the height of the chart.